Hi Ruwan: I haved tried it with both Synapse 1.1.1 and 1.2
-Thanks tanmay Ruwan Linton wrote: > > Hi Tanmay, > > Your configuration seems fine except for the property in the inSequence of > the proxy. Any specific reason to put that? If not I suggest you to remove > that and try. > > BTW: What is the version of Synapse that you are using? > > Thanks, > Ruwan > > On Tue, Jun 10, 2008 at 11:04 PM, tsaha <[EMAIL PROTECTED]> > wrote: > >> >> 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. >> >> > > > -- > Ruwan Linton > http://www.wso2.org - "Oxygenating the Web Services Platform" > > -- View this message in context: http://www.nabble.com/How-to-send-a-Response-Back-to-JMS-Destination-tp17760767p17762201.html Sent from the Synapse - User mailing list archive at Nabble.com.
