Re: Routing REST request to external URI

2013-03-13 Thread ramrubio
Ok. Found my answer. Added removeHeader to route. this.from("servlet:///?matchOnUriPrefix=true").removeHeader(Exchange.HTTP_PATH).dynamicRouter(method(CamelRoute.class, "slip")); -- View this message in context: http://camel.465427.n5.nabble.com/Routing-REST-req

Re: Routing REST request to external URI

2013-03-13 Thread ramrubio
hod(CamelRoute.class, "slip")); 2. Slip method return new http route with bridgeEndpoint=true. Is there anyway to prevent original path from being appended? Or maybe i'm missing a configuration. Thanks in advance. /Ramon -- View this message in context: http://camel.465427.n5

Re: Routing REST request to external URI

2013-03-12 Thread Claus Ibsen
within the same route, then this is a bit more tricky. Then see this FAQ http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html The EIPs themselves is part of an existing route. http://camel.apache.org/eip > > > -- > View this message in context: > http://camel.465427.n5.n

Re: Routing REST request to external URI

2013-03-12 Thread ramrubio
in context: http://camel.465427.n5.nabble.com/Routing-REST-request-to-external-URI-tp5728852p5729004.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Routing REST request to external URI

2013-03-10 Thread Henryk Konsek
> I also wanted to confirm that Camel support dynamic routing for all http > operations (GET, POST, PUT, DELETE) >From Jetty component documentation [1] - "you can get the request.parameter from the message header not only from Get Method, but also other HTTP method". > and that proxied request f

Re: Routing REST request to external URI

2013-03-09 Thread Willem jiang
> Server > B receives HTTP POST (with special headers). > > I wanted to confirm this is possible with Camel on Tomcat. > > Thanks, > > /Ramon > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Routing-REST

Re: Routing REST request to external URI

2013-03-09 Thread ramrubio
t; Server B receives HTTP POST (with special headers). I wanted to confirm this is possible with Camel on Tomcat. Thanks, /Ramon -- View this message in context: http://camel.465427.n5.nabble.com/Routing-REST-request-to-external-URI-tp5728852p5728885.html Sent from the Camel - Users m

Re: Routing REST request to external URI

2013-03-09 Thread Henryk Konsek
Hi Ramon, > Is it possible on tomcat? Sure. Camel Jetty component [1] opens new embedded HTTP server on the port of your choice, so it don't have to conflict with ports opened by Tomcat. > Any examples? You can deploy the example mentioned [2] by Claus on Tomcat as well. > Also I want to be ab

Re: Routing REST request to external URI

2013-03-09 Thread Claus Ibsen
t; > /Ramon > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Routing-REST-request-to-external-URI-tp5728852.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Fu

Re: Routing REST request to external URI

2013-03-08 Thread Christian Müller
View this message in context: > http://camel.465427.n5.nabble.com/Routing-REST-request-to-external-URI-tp5728852.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Routing REST request to external URI

2013-03-08 Thread ramrubio
, POST, DELETE, etc...). Is this possible with Camel? Thanks, /Ramon -- View this message in context: http://camel.465427.n5.nabble.com/Routing-REST-request-to-external-URI-tp5728852.html Sent from the Camel - Users mailing list archive at Nabble.com.