org.apache.tuscany.sca.binding.jms.provider
Class DefaultJMSBindingListener

java.lang.Object
  extended by org.apache.tuscany.sca.binding.jms.provider.DefaultJMSBindingListener

Deprecated.

@Deprecated
public class DefaultJMSBindingListener
extends java.lang.Object

Listener for the JMSBinding.


Constructor Summary
DefaultJMSBindingListener(JMSBinding jmsBinding, JMSResourceFactory jmsResourceFactory, RuntimeComponentService service, Binding targetBinding)
          Deprecated.  
 
Method Summary
protected  Operation getTargetOperation(java.lang.String operationName)
          Deprecated.  
protected  java.lang.Object invokeService(Message requestJMSMsg)
          Deprecated. Turn the JMS message back into a Tuscany message and invoke the target component
 void onMessage(Message requestJMSMsg)
          Deprecated.  
protected  void sendReply(Message requestJMSMsg, java.lang.Object responsePayload, boolean isFault)
          Deprecated.  
protected  void setHeaderProperties(Message requestJMSMsg, MessageImpl tuscanyMsg, Operation operation)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJMSBindingListener

public DefaultJMSBindingListener(JMSBinding jmsBinding,
                                 JMSResourceFactory jmsResourceFactory,
                                 RuntimeComponentService service,
                                 Binding targetBinding)
                          throws javax.naming.NamingException
Deprecated. 
Throws:
javax.naming.NamingException
Method Detail

onMessage

public void onMessage(Message requestJMSMsg)
Deprecated. 

invokeService

protected java.lang.Object invokeService(Message requestJMSMsg)
                                  throws JMSException,
                                         java.lang.reflect.InvocationTargetException
Deprecated. 
Turn the JMS message back into a Tuscany message and invoke the target component

Parameters:
requestJMSMsg -
Returns:
Throws:
JMSException
java.lang.reflect.InvocationTargetException

getTargetOperation

protected Operation getTargetOperation(java.lang.String operationName)
Deprecated. 

setHeaderProperties

protected void setHeaderProperties(Message requestJMSMsg,
                                   MessageImpl tuscanyMsg,
                                   Operation operation)
                            throws JMSException
Deprecated. 
Throws:
JMSException

sendReply

protected void sendReply(Message requestJMSMsg,
                         java.lang.Object responsePayload,
                         boolean isFault)
Deprecated.