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
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
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
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.
> 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
> 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
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
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
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
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.
>
, 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.
11 matches
Mail list logo