Package com.mayam.wf.mq
Class MamMqListener
java.lang.Object
com.mayam.wf.mq.MamMqListener
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
onHasMediaEvent
(AttributeMap mamEvent) abstract void
onMamAssetEvent
(AttributeMap mamEvent) abstract void
onMamJobEvent
(AttributeMap mamEvent) void
A message has been received and is ready to be handled.
-
Constructor Details
-
MamMqListener
public MamMqListener()
-
-
Method Details
-
onMessage
Description copied from interface:Mq.Listener
A message has been received and is ready to be handled.- Specified by:
onMessage
in interfaceMq.Listener
- Throws:
Throwable
-