RE: Routing on REST URL patterns

2014-02-10 Thread mnusry
Matcher matcher = pattern.matcher(urlToMatch); if (matcher.matches()) { return "http4://" + restUrl + "?bridgeEndpoint=true&throwExceptionOnFailure=false"; } } return ""; } -- View this message in context: http://camel.465427.n5.nabble.com/Routing-on-REST-URL-patterns-tp5746514p5747055.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Routing on REST URL patterns

2014-01-28 Thread Ravindra.Godbole
exchange.getIn().setHeader("restUrl", urlToSend); -Ravi -Original Message- From: mnusry [mailto:mnu...@gmail.com] Sent: Tuesday, January 28, 2014 7:37 AM To: users@camel.apache.org Subject: Routing on REST URL patterns I am struggling to get the following going, I want to route REST

Routing on REST URL patterns

2014-01-27 Thread mnusry
.otherwise() .to("http4://" + DUrl + "?bridgeEndpoint=true&throwExceptionOnFailure=false"); } Note System properties are defined so that it is easy to add more url patterns and make things configurable a little. -- View this message in context: http://camel.465427.n5.nabble.com/Routing-on-REST-URL-patterns-tp5746514.html Sent from the Camel - Users mailing list archive at Nabble.com.