org.sca4j.binding.jms.runtime
Class JmsTargetInterceptor
java.lang.Object
org.sca4j.binding.jms.runtime.JmsTargetInterceptor
- All Implemented Interfaces:
- org.sca4j.spi.wire.Interceptor
public class JmsTargetInterceptor
- extends java.lang.Object
- implements org.sca4j.spi.wire.Interceptor
Dispatches a service invocation to a JMS queue.
- Version:
- $Revision: 5322 $ $Date: 2008-09-02 20:15:34 +0100 (Tue, 02 Sep
2008) $
|
Method Summary |
org.sca4j.spi.wire.Interceptor |
getNext()
|
org.sca4j.spi.invocation.Message |
invoke(org.sca4j.spi.invocation.Message message)
|
void |
setNext(org.sca4j.spi.wire.Interceptor next)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsTargetInterceptor
public JmsTargetInterceptor(java.lang.String methodName,
PayloadType payloadType,
javax.jms.Destination destination,
javax.jms.ConnectionFactory connectionFactory,
CorrelationScheme correlationScheme,
SCA4JMessageReceiver messageReceiver,
java.lang.ClassLoader cl)
- Parameters:
methodName - Method name.payloadType - the type of JMS message to senddestination - Request destination.connectionFactory - Request connection factory.correlationScheme - Correlation scheme.messageReceiver - Message receiver for response.cl - the classloader for loading parameter types.
invoke
public org.sca4j.spi.invocation.Message invoke(org.sca4j.spi.invocation.Message message)
- Specified by:
invoke in interface org.sca4j.spi.wire.Interceptor
getNext
public org.sca4j.spi.wire.Interceptor getNext()
- Specified by:
getNext in interface org.sca4j.spi.wire.Interceptor
setNext
public void setNext(org.sca4j.spi.wire.Interceptor next)
- Specified by:
setNext in interface org.sca4j.spi.wire.Interceptor
Copyright © 2008-2010 Service Symphony. All Rights Reserved.