2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.binding.jms.headers
Class HeaderReferenceInterceptor
java.lang.Object
org.apache.tuscany.sca.binding.jms.headers.HeaderReferenceInterceptor
- All Implemented Interfaces:
- Interceptor, Invoker
public class HeaderReferenceInterceptor
- extends java.lang.Object
- implements Interceptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeaderReferenceInterceptor
public HeaderReferenceInterceptor(JMSBinding jmsBinding,
JMSResourceFactory jmsResourceFactory,
RuntimeWire runtimeWire)
invoke
public Message invoke(Message msg)
- Description copied from interface:
Invoker
- Process a synchronous wire
- Specified by:
invoke
in interface Invoker
- Parameters:
msg
- The request Message for the wire
- Returns:
- The response Message from the wire
invokeRequest
public Message invokeRequest(Message tuscanyMsg)
getCallbackDestinationName
protected java.lang.String getCallbackDestinationName(RuntimeComponentReference reference)
getNext
public Invoker getNext()
- Description copied from interface:
Interceptor
- Returns the next invoker or null
- Specified by:
getNext
in interface Interceptor
- Returns:
- The next Invoker
setNext
public void setNext(Invoker next)
- Description copied from interface:
Interceptor
- Sets the next invoker
- Specified by:
setNext
in interface Interceptor
- Parameters:
next
- The next invoker