Hi

I was able to reproduce the issue and I will fix this in the next release.
https://issues.apache.org/jira/browse/CAMEL-3430


On Tue, Dec 14, 2010 at 11:00 PM, John <[email protected]> wrote:
>
> I've started testing with the camel 2.6 snapshot and believe I have found the
> root of the issue.
>
> The endpoint I am trying to test is an http endpoint. I included the user
> name and password as query params in the URI.
>
> Having a "&" in the URI prevents the InterceptSendToEndpoint from working
> correctly. I recreated the issue with a static http endpoint like
>
> .to("http:host/my_ws?arg1=ok&arg2=bad")
>
> Out of curiosity I printed out the endpoints in my route after adding the
> interceptor. On the URI without the "&", I only see one endpoint:
>
> endPoint.uri = http://host/some_place/junk?arg1=ok
> endPoint.class = class org.apache.camel.impl.InterceptSendToEndpoint
>
> On the URI with the "&", I see two endpoints:
>
> endPoint.uri = http://host/some_place/junk?arg2=bad&arg1=ok
> endPoint.class = class org.apache.camel.impl.InterceptSendToEndpoint
> endPoint.uri = http://host/some_place/junk?arg2=bad&arg1=ok
> endPoint.class = class org.apache.camel.component.http.HttpEndpoint
>
> -john
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/interceptSendToEndpoint-with-dynamic-endpoint-tp3301978p3305364.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to