public interface MessageCallback<E>
Modifier and Type | Method and Description |
---|---|
void |
messageReceived(java.lang.String msgId,
E payload)
Notifies a listener that a message is available from the queue.
|
void messageReceived(java.lang.String msgId, E payload)
notifyMessageAvailable
implementation must spawn or wake a thread to handle the actual
message.