Does the filter mediator support regex expressions?

i.e something://universe/<regex1>/abc/<regex2>  and placeholder replacement on 
the actual endpoint i.e 
http://abc/<placeholder1>/xyz/<placeholder2<http://abc/%3cplaceholder1%3e/xyz/%3cplaceholder2>>

Is there a way to specify an endpoint address to the filesystem? i.e: file://.. 
?

Thanks for your time,

Roberto

From: Rajika Kumarasiri [mailto:[email protected]]
Sent: Friday, 17 August 2012 6:52 PM
To: [email protected]
Subject: Re: Service Mediation / Content Mediation

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]<mailto:[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.

Reply via email to