Yeah. You can use the filter mediator to decide based on the content(To address) and XSLT mediator to transform the request to another format. Check,
http://synapse.apache.org/userguide/samples/sample1.html http://synapse.apache.org/userguide/samples/sample8.html Hope this helps. Rajika On Fri, Aug 17, 2012 at 1:48 PM, Roberto Calero La Torre < [email protected]> wrote: > Hi,**** > > ** ** > > I’m still getting my head around Synapse since I’m thinking of moving from > Mule for an ESB implementation we have.**** > > ** ** > > Question:**** > > ** ** > > Our messages currently pass in a string (uri) which is then routed to the > actual endpoint, i.e. “equity://stock/xyz” would hit the stock endpoint > whereas “equity://warrant/abc” would hit a different one. I’d like a single > service endpoint to hit from my client, pass in the above message and then > route the message to the right endpoint. **** > > ** ** > > So my question is… should this be handled by the mediator? What if I want > to transform the payload being sent back by applying an xslt > transformation.. a mediator as well?**** > > ** ** > > Roberto.**** >
