public interface MessageListener
PublicationListener
. Enables the
application to handle the received messages.Modifier and Type | Method and Description |
---|---|
void |
onMessage(BrokerMessage msg)
Process the received message.
|
void onMessage(BrokerMessage msg)
MessageListener
in the constructor
of the PublicationListener
.msg
- the received BrokerMessage
.