|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.binding.jms.provider.JMSBindingInvoker
@Deprecated public class JMSBindingInvoker
Invoker for the JMS binding.
Field Summary | |
---|---|
protected Destination |
bindingReplyDest
Deprecated. |
protected Destination |
bindingRequestDest
Deprecated. |
protected JMSBinding |
jmsBinding
Deprecated. |
protected JMSResourceFactory |
jmsResourceFactory
Deprecated. |
protected Operation |
operation
Deprecated. |
protected java.lang.String |
operationName
Deprecated. |
protected RuntimeComponentReference |
reference
Deprecated. |
protected JMSMessageProcessor |
requestMessageProcessor
Deprecated. |
protected JMSMessageProcessor |
responseMessageProcessor
Deprecated. |
Constructor Summary | |
---|---|
JMSBindingInvoker(JMSBinding jmsBinding,
Operation operation,
JMSResourceFactory jmsResourceFactory,
RuntimeComponentReference reference)
Deprecated. |
Method Summary | |
---|---|
boolean |
allowsPassByReference()
Deprecated. Indicate if the data can be passed in by reference as they won't be mutated. |
protected java.lang.String |
getCallbackDestinationName(RuntimeComponentReference reference)
Deprecated. |
protected Destination |
getReplyToDestination(Session session)
Deprecated. |
protected Destination |
getRequestDestination(Message tuscanyMsg,
Session session)
Deprecated. |
protected boolean |
hasCallback()
Deprecated. |
Message |
invoke(Message tuscanyMsg)
Deprecated. Process a synchronous wire |
protected java.lang.Object |
invokeTarget(Message tuscanyMsg)
Deprecated. |
protected Destination |
lookupDestination()
Deprecated. Looks up the Destination Queue for the JMS Binding |
protected Destination |
lookupDestinationQueue(boolean isReponseQueue)
Deprecated. Looks up the Destination Queue for the JMS Binding. |
protected Destination |
lookupResponseDestination()
Deprecated. Looks up the Destination Response Queue for the JMS Binding |
protected Message |
receiveReply(Session session,
Destination replyToDest,
java.lang.String requestMsgId)
Deprecated. |
protected Message |
sendRequest(Message tuscanyMsg,
Session session,
Destination replyToDest)
Deprecated. |
protected void |
setHeaders(Message tuscanyMsg,
Message jmsMsg)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Operation operation
protected java.lang.String operationName
protected JMSBinding jmsBinding
protected JMSResourceFactory jmsResourceFactory
protected JMSMessageProcessor requestMessageProcessor
protected JMSMessageProcessor responseMessageProcessor
protected Destination bindingRequestDest
protected Destination bindingReplyDest
protected RuntimeComponentReference reference
Constructor Detail |
---|
public JMSBindingInvoker(JMSBinding jmsBinding, Operation operation, JMSResourceFactory jmsResourceFactory, RuntimeComponentReference reference)
Method Detail |
---|
protected Destination lookupDestination() throws javax.naming.NamingException, JMSBindingException
javax.naming.NamingException
- Failed to lookup Destination Queue
JMSBindingException
- Failed to lookup Destination QueuelookupDestinationQueue(boolean)
protected Destination lookupResponseDestination() throws javax.naming.NamingException, JMSBindingException
javax.naming.NamingException
- Failed to lookup Destination Response Queue
JMSBindingException
- Failed to lookup Destination Response QueuelookupDestinationQueue(boolean)
protected Destination lookupDestinationQueue(boolean isReponseQueue) throws javax.naming.NamingException, JMSBindingException
What happens in the look up will depend on the create mode specified for the JMS Binding:
isReponseQueue
- true
if we are creating a response queue.
false
if we are creating a request queue
javax.naming.NamingException
- Failed to lookup JMS queue
JMSBindingException
- Failed to lookup JMS Queue. Probable cause is that
the JMS queue's current existence/non-existence is not compatible with
the create mode specified on the bindingpublic Message invoke(Message tuscanyMsg)
Invoker
invoke
in interface Invoker
tuscanyMsg
- The request Message for the wire
protected java.lang.Object invokeTarget(Message tuscanyMsg) throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
protected Destination getReplyToDestination(Session session) throws JMSException, JMSBindingException, javax.naming.NamingException
JMSException
JMSBindingException
javax.naming.NamingException
protected Message sendRequest(Message tuscanyMsg, Session session, Destination replyToDest) throws JMSException, JMSBindingException, javax.naming.NamingException
JMSException
JMSBindingException
javax.naming.NamingException
protected Destination getRequestDestination(Message tuscanyMsg, Session session) throws JMSBindingException, javax.naming.NamingException, JMSException
JMSBindingException
javax.naming.NamingException
JMSException
protected void setHeaders(Message tuscanyMsg, Message jmsMsg) throws JMSException
JMSException
protected boolean hasCallback()
protected Message receiveReply(Session session, Destination replyToDest, java.lang.String requestMsgId) throws JMSException, javax.naming.NamingException
JMSException
javax.naming.NamingException
protected java.lang.String getCallbackDestinationName(RuntimeComponentReference reference)
public boolean allowsPassByReference()
DataExchangeSemantics
allowsPassByReference
in interface DataExchangeSemantics
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |