[
https://issues.apache.org/jira/browse/CAMEL-5885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-5885.
--------------------------------
Resolution: Not A Problem
Fix Version/s: 2.11.0
Assignee: Claus Ibsen
This is working as designed.
You intercept the simpleProvider uri, and on the 2nd test you have a different
url, they are not the same.
Instead you can use wildcards in the intercept, so you can match both uris.
See the added unit test
http://svn.apache.org/viewvc?rev=1425300&view=rev
> httpClient parameter prevent the use of Intercept in camel-http4.
> -----------------------------------------------------------------
>
> Key: CAMEL-5885
> URL: https://issues.apache.org/jira/browse/CAMEL-5885
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.10.3
> Reporter: Luc Leclerc
> Assignee: Claus Ibsen
> Fix For: 2.11.0
>
>
> Here is the unit test with the 2 tests (expected result and the strange
> behavior) : http://pastebin.com/scupr8DT
> Extra parameters using httpClient is forcing the use of the endpoint and
> prevent the intercept from working.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira