public interface XMLMessageListener
XMLMessageListener
is used to receive messages asynchronously.
When providing an implementation of XMLMessageListener
to XMLMessageConsumer
,
the received message is delivered asynchronously to the application through this callback
interface.
Modifier and Type | Method and Description |
---|---|
void |
onException(JCSMPException exception)
On error, this method is invoked.
|
void |
onReceive(BytesXMLMessage message)
The callback method to handle messages received by the
XMLMessageConsumer . |
void onReceive(BytesXMLMessage message)
XMLMessageConsumer
.message
- The BytesXMLMessage
received.void onException(JCSMPException exception)
exception
- The exception associated with the error condition.Copyright 2004-2024 Solace Corporation. All rights reserved.