Interface Mq.Listener

All Known Implementing Classes:
MamMqListener
Enclosing interface:
Mq

public static interface Mq.Listener
Callback for use with Mq.attachListener(MqDestination, Listener). The message passed will have had its contents retrieved prior to calling onMessage(MqMessage) in the case of a MqMessage.isLarge() message.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A message has been received and is ready to be handled.
  • Method Details

    • onMessage

      void onMessage(MqMessage message) throws Throwable
      A message has been received and is ready to be handled.
      Throws:
      Throwable