Hi, I faced a similar problem...Just checkout if this works..
Synapse creates a temporary queue where it waits for the response message from the jms. After the timout it deletes the temporary queue and hence the response is lost. So you can use 1 more proxy service which waits for the response message on a separate queue. You can configure your remote jms service to return the message to that queue. So basically you will be using 2 proxy services--One to send the request and other will listen for the response. You can set the endpoint, to which the response has to be sent, as a header. --------------- Regards, Shradha -----Original Message----- From: Java Programmer [mailto:[email protected]] Sent: Friday, December 19, 2008 5:42 PM To: [email protected] Subject: JMS / proxy problem Hi, I am using proxy for recieving data from external site with help of JMS queue - everything work till sending to remote site (without JMS this scenario work, when adding JMS support stops with message: 2008-12-19 12:24:06,843 [192.168.3.36-main-36] [SynapseWorker-2] WARN JMSSender Did not receive a JMS response within 30000 ms to destination : temp-queue://ID:main-36-3190-122968 5810109-0:3:1 with JMS correlation ID : ID:main-36-3190-1229685810109-0:3:1:1:1 The code for proxy: <proxy name="FlightsProxy" trace="enable" transports="jms"> <target> <inSequence> <!-- this log works --> <log level="custom"> <property name="text" expression="child::*" /> </log> <send> <endpoint> <address uri="http://remote.site.com/" format="pox"/> </endpoint> </send> </inSequence> <outSequence> <!-- this log DOESN'T work --> <log level="custom"> <property name="text" expression="child::*" /> </log> <send/> </outSequence> </target> </proxy> Can anybody help, or give an example of such scenario when JMS is transport and remote webservice site is an endpoint, and response from it should get into JMS queue again? Best regards, Adr Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
