1 of 1 people found this helpful
Can you give us some more information (jboss-esb.xml, action that you're using to set the http response)?
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?
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.
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.