camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martin11 <mato.kraj...@gmail.com>
Subject Re: Intercept HTTP where I use httpClientConfigurerRef
Date Mon, 18 Feb 2013 12:28:42 GMT
UPDATE:
--------------
Intercept is not working only when I use ref to endpoint with
httpClientConfigurerRef.

<camel:endpoint id="wsEndpoint"
uri="http://{{address}}/{{context}}?httpClientConfigurerRef=myHttpClientConfig"/>

<camel:route id="route-1">
    ...
    <camel:to ref="wsEndpoint"/>
    ...
</camel:route>

But interceptSendToEndpoint works fine if I use uri instead of endpoint ref:
<camel:route id="route-1">
    ...
    <camel:to
uri="http://{{address}}/{{context}}?httpClientConfigurerRef=myHttpClientConfig"/>
    ...
</camel:route>

Why I can`t use endpoint ref together with httpClientConfigurerRef when I
want interceptSendToEndpoint in test? 



--
View this message in context: http://camel.465427.n5.nabble.com/Intercept-HTTP-where-I-use-httpClientConfigurerRef-tp5727569p5727730.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message