Class MamMqListener

java.lang.Object
com.mayam.wf.mq.MamMqListener
All Implemented Interfaces:
Mq.Listener

public abstract class MamMqListener extends Object implements Mq.Listener
To use this, in your eventConsumer
                mq.attachListener(QUEUE, eventHandler);
 
then let your MamEventHandler extend MamMqListener. See telstra-daemon for example
Author:
Erik Bågfors
  • Constructor Details

    • MamMqListener

      public MamMqListener()
  • Method Details

    • onMessage

      public void onMessage(MqMessage message) throws Throwable
      Description copied from interface: Mq.Listener
      A message has been received and is ready to be handled.
      Specified by:
      onMessage in interface Mq.Listener
      Throws:
      Throwable
    • onHasMediaEvent

      public abstract void onHasMediaEvent(AttributeMap mamEvent)
    • onMamAssetEvent

      public abstract void onMamAssetEvent(AttributeMap mamEvent)
    • onMamJobEvent

      public abstract void onMamJobEvent(AttributeMap mamEvent)