org.sca4j.binding.jms.runtime
Interface ResponseMessageListener
- All Known Implementing Classes:
- OneWayMessageListenerImpl, ResponseMessageListenerImpl
public interface ResponseMessageListener
A ResponseMessageListener object is used to receive
asynchronously delivered messages and then optionally send response
|
Method Summary |
void |
onMessage(javax.jms.Message request,
javax.jms.Session responseSession,
javax.jms.Destination responseDestination)
Passes a message to the listener. |
onMessage
void onMessage(javax.jms.Message request,
javax.jms.Session responseSession,
javax.jms.Destination responseDestination)
throws javax.jms.JMSException
- Passes a message to the listener.
- Parameters:
request - the message passed to the listenerresponseSession - the JMSSession object which is used to send
response messageresponseDestination - JMSDestination to which the response is sent
- Throws:
javax.jms.JMSException- See Also:
MessageListener.onMessage(javax.jms.Message)
Copyright © 2008-2010 Service Symphony. All Rights Reserved.