org.sca4j.binding.jms.runtime
Class OneWayMessageListenerImpl
java.lang.Object
org.sca4j.binding.jms.runtime.OneWayMessageListenerImpl
- All Implemented Interfaces:
- ResponseMessageListener
public class OneWayMessageListenerImpl
- extends java.lang.Object
- implements ResponseMessageListener
Message listener for service requests.
- Version:
- $Revison$ $Date: 2008-03-18 05:24:49 +0800 (Tue, 18 Mar 2008) $
|
Constructor Summary |
OneWayMessageListenerImpl(java.util.Map<org.sca4j.spi.model.physical.PhysicalOperationDefinition,org.sca4j.spi.wire.InvocationChain> chains,
java.util.Map<java.lang.String,PayloadType> messageTypes)
|
|
Method Summary |
void |
onMessage(javax.jms.Message request,
javax.jms.Session responseSession,
javax.jms.Destination responseDestination)
Passes a message to the listener. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OneWayMessageListenerImpl
public OneWayMessageListenerImpl(java.util.Map<org.sca4j.spi.model.physical.PhysicalOperationDefinition,org.sca4j.spi.wire.InvocationChain> chains,
java.util.Map<java.lang.String,PayloadType> messageTypes)
- Parameters:
chains - map of operations to interceptor chains.messageTypes - the JMS message type used to enqueue service
invocations keyed by operation name
onMessage
public void onMessage(javax.jms.Message request,
javax.jms.Session responseSession,
javax.jms.Destination responseDestination)
throws javax.jms.JMSException
- Description copied from interface:
ResponseMessageListener
- Passes a message to the listener.
- Specified by:
onMessage in interface ResponseMessageListener
- 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.