I have configured a Proxy to listen from Sonic MQ. As per the Synapse
documentation I have configured axis2.xml for JMSReceiver. When I place a
SAOP Message on Sonic MQ ( SampleQ1 ) , Synapse can listen and do the web
service call out over http. Now I want to send the Response back to another
queue (SampleQ2) in Sonic MQ. I have specified
"transport.jms.ReplyDestination" paratemer in the proxy configuration, but
does not work. I am getting the following error
Exception in thread "HttpClientWorker-1" java.lang.NullPointerException
at
org.apache.synapse.transport.jms.JMSSender.sendMessage(JMSSender.java
:181)
at
org.apache.synapse.transport.base.AbstractTransportSender.invoke(Abst
ractTransportSender.java:102)
My proxy configuration is
<proxy name="echoProxy" transports="jms">
<target>
<inSequence>
<property action="set" name="RESPONSE" value="true"/>
</inSequence>
<endpoint>
<address
uri="http://pasdevarch1:8080/EJBWebService/EchoBean"/>
</endpoint>
<outSequence>
<log level="full"/>
<send/>
</outSequence>
</target>
<parameter
name="transport.jms.ConnectionFactory">myQueueConnectionFactory</parameter>
<parameter name="transport.jms.Destination">SampleQ1</parameter>
<parameter name="transport.jms.DestinationType">queue</parameter>
<parameter name="transport.jms.ReplyDestination">SampleQ2</parameter>
<publishWSDL
uri="file:repository/conf/sample/resources/proxy/echo_proxy.wsdl"/>
</proxy>
Please let me know, where I am doing wrong.
-Thanks
tanmay
--
View this message in context:
http://www.nabble.com/How-to-send-a-Response-Back-to-JMS-Destination-tp17760767p17760767.html
Sent from the Synapse - User mailing list archive at Nabble.com.