-
1. Re: Async redirect
tcunning Mar 1, 2013 3:20 PM (in response to mataratones)1 of 1 people found this helpfulCan you give us some more information (jboss-esb.xml, action that you're using to set the http response)?
-
2. Re: Async redirect
mataratones Mar 4, 2013 9:56 AM (in response to tcunning)Well, I guess that's the crux of it: do I need to set the HTTP response manually? If it comes in through an HTTP gateway with mep=RequestResponse, the ESB takes care of formatting the final message into a proper HTTP response. I'm not clear what happens if I set the mep=OneWay. Based on the way the example cited in my first post, I thought I could set the message ReplyTo back to the original ReplyTo and it would work like a RequestResponse queue. But I may be misunderstanding how that works. Is there a way to get a message back out an HTTPGateway if it is set as OneWay?
-
3. Re: Async redirect
kconner Mar 4, 2013 11:23 AM (in response to mataratones)The HTTP gateway will initialise the incoming message with a ReplyTo EPR; this is separate from the definition of 'mep' within your services (they reflect the impementation rather than the client's view). You should be able to use the gateway's ReplyTo EPR to deliver the response from your last service.
If you can upload an example project showing what you are trying then we can help out.
-
4. Re: Async redirect
mataratones Mar 5, 2013 5:52 PM (in response to kconner)Sorry for not responding. Although I haven't figured out my issue, my colleague has been able to get it working, so I will not pursue this matter further at the moment.