Hello
I have looked at JMS examples provided with Synapse, but cannot force to
work my own model, because message appear to disappear somewhere.
What I need to see working example of such scenario:
- HTTP proxy which send JMS message over Synapse (e.g. request queue)
- next this message is consumed by some simple service (i try with simple
bean which should uppercase text and send back as echo)
- this simple service responds with new message which is thrown into another
queue (e.g. response queue)
- HTTP proxy should consume from response queue and send back response via
HTTP (*)

Everything looks to work without last step - the message is short time in
response queue, and next it's send to some new temporary queue, because JMS
transport cannot find the HTTP proxy endpoint.
What I try is to set up in JMS proxy which is just after and before HTTP
proxy:
<property action="set" name="RESPONSE" value="true" />
<!-- also tried with:
<header name="To" action="remove" />
-->
<send>
 <endpoint>
   <address uri="myHTTPProxy" />
 </endpoint>
</send>

If you can post any example of such two-way, two queues with http proxy
scenario I would appreciate.

Have a nice day!

Reply via email to