Just use the servicemix-http and servicemix-jms components. The servicemix-jms can handle InOut meps both as a consumer and a provider. It uses a temporary destination and waits for the response to come back. In short, just create an http consumer endpoint (with an InOut mep) that send exchanges to a jms provider endpoint.
On the other side, create a jms consumer endpoint specifying an InOut mep which will send exchange to whatever you want. Cheers, Guillaume Nodet On 5/17/06, dajevu <[EMAIL PROTECTED]> wrote:
Hi, I've got the following scenario: 1. An instance of ServiceMix running on one environment under Tomcat. It receives an HTTP Request. 2. It populates the HTTP Request into a JMS Queue. 3. The message is consumed by another ServiceMix instance, whereby a response is generated. 4. The message is returned to the originating ServiceMix instance and sent back as an HTTP Response. Question I am facing is how to accomplish this without resorting to a custom component, or is that my only alternative. What I am grappling with is how to send the message over JMS, receive a reply (from my understanding, JMS really isnt' syncronous like this, except through correlationId type tricks) and then, in turn, use that as the HTTP response to my original HTTP Request? Any ideas would be great! jeff -- View this message in context: http://www.nabble.com/NMR-Flow-scenario-question-t1637079.html#a4433467 Sent from the ServiceMix - User forum at Nabble.com.
-- Cheers, Guillaume Nodet
