camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramrubio <>
Subject Re: Routing REST request to external URI
Date Wed, 13 Mar 2013 19:14:29 GMT
Thanks for the feedback.

I've run into another issue.  I'm trying to route an incoming URI to a
different URI but HttpProducer method appends the original URI to the new
route in HttpProducer.createURL.

The following is the use case:
1.  Client requests http://server1:8080/public/users
2.  Proxy receives and routes request to http://server2:8080/private/users

My camel proxy produces the following in step 2:

My setup is as follows:

1.  Setup Dynamic Router

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.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message