public class MessageListenerAdapter extends Object implements XMLMessageListener
| Constructor and Description |
|---|
MessageListenerAdapter(DestinationListener topicListener) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DestinationListener |
getMessageTopicListener() |
int |
hashCode() |
void |
onException(JCSMPException exception)
On error, this method is invoked.
|
void |
onReceive(BytesXMLMessage message)
The callback method to handle messages received by the
XMLMessageConsumer. |
String |
toString() |
public MessageListenerAdapter(DestinationListener topicListener)
public DestinationListener getMessageTopicListener()
public void onException(JCSMPException exception)
XMLMessageListeneronException in interface XMLMessageListenerexception - The exception associated with the error condition.public void onReceive(BytesXMLMessage message)
XMLMessageListenerXMLMessageConsumer.onReceive in interface XMLMessageListenermessage - The BytesXMLMessage received.Copyright 2004-2021 Solace Corporation. All rights reserved.