Hi all,
I am wondering what the best way is to do the following scenario.
I have a service calling another esb service. The calling service needs to transform the response before sending it back to its client.
First, I tried to implement the calling service using the mep="RequestResponse" with 3 actions:
_http reader action
_transformation of the message
_static router to another esb service
but I don't know how to deal with the response message.
I also tried to implement manually the request to the other service using the service invoker (sync mode) but I guess it is not the standard way to do it in jboss esb.
Thank you very much
The best way is to split your calling service into two parts and use the EPRs to drive the synchronous request/response.
There is an example of this behaviour on the wiki, at http://www.jboss.org/community/docs/DOC-9105