Thanks for all your help so far Ashanka. Sorry for my confusion. Is the scenario you describe below possible using just configuration via the synapse.xml file, or is this something that I'm going to need to write custom services for?
-----Original Message----- From: Asankha C. Perera [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 1:37 PM To: [email protected] Subject: Re: Switching transports - JMS to http using AQ Greg > The MDB is not handling the CORRELATION_ID. I was under the impression > that they would be treated as two separate operations. For example: > > Operation One: HTTP request gets put on a queue by Synapse, and HTTP 202 > returned to the client > > Outside of Synapse: MDB puts message on OUT_QUEUE (this simulates our > normal backend processing) > > Operation Two: Synapse listens to OUT_QUEUE and makes HTTP request to > specified endpoint, returning 202 to Synapse. > Ok.. then your config is not correct for the scenario you describe.. If these are two un-related messages, you could define two proxy services, one that listens on HTTP and puts it on JMS and returns 202, and the other service to listen on JMS on the reply Queue and post the message to an http endpoint asankha This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
