public interface JMSListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Throwable throwable)
If there are errors, transport will trigger this method.
|
void |
onMessage(javax.jms.Message jmsMessage,
JMSCallback jmsCallback)
Transport will trigger this method when for each jms message.
|
void onMessage(javax.jms.Message jmsMessage,
JMSCallback jmsCallback)
jmsMessage - contains the msg data.jmsCallback - callback for the message.void onError(Throwable throwable)
throwable - contains the error details of the event.Copyright © 2019 WSO2. All rights reserved.