[ 
https://issues.apache.org/jira/browse/CAMEL-20729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17843020#comment-17843020
 ] 

Raymond commented on CAMEL-20729:
---------------------------------

Yes, that was indeed the case. Once I migrated from Apache HttpComponents v4 to 
Apache HttpComponents v5 it worked. You can close ticket.

Though (when carefully read) this is in the documentation of the HTTP 
component, I was looking in the migration guide (3 --> 4). Maybe good to add 
this info there as well.

> camel-http - cookieStore property not recognized
> ------------------------------------------------
>
>                 Key: CAMEL-20729
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20729
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 4.5.0
>            Reporter: Raymond
>            Priority: Minor
>
> I am in the process of upgrading from 3.20.9 to 4.5.0. When I install a route 
> that uses following http endpoint:
> {code:java}
> <to 
> uri="http://www.testingmcafeesites.com/testcat_al.html?cookieStore=#flowCookieStore&amp;throwExceptionOnFailure=true&amp;maxTotalConnections=20&amp;connectionsPerRoute=2"/>
>  {code}
> I get the following error:
> {code:java}
> Failed to create route HTTP_TEST at: >>> 
> To[http://www.testingmcafeesites.com/testcat_al.html?cookieStore=#flowCookieStore&throwExceptionOnFailure=true&maxTotalConnections=20&connectionsPerRoute=2]
>  <<< in route: 
> Route(ID_627a64ad38c74a00130006eb-ce173190-d08f-11ec-83f5-37... because of 
> Failed to resolve endpoint: 
> http://www.testingmcafeesites.com/testcat_al.html?connectionsPerRoute=2&cookieStore=%23flowCookieStore&maxTotalConnections=20&throwExceptionOnFailure=true
>  due to: Error binding property (cookieStore=#flowCookieStore) with name: 
> cookieStore on bean: 
> http://www.testingmcafeesites.com/testcat_al.html?maxTotalConnections=20&connectionsPerRoute=2&throwExceptionOnFailure=true&cookieStore=%23flowCookieStore
>  with value: #flowCookieStore",{code}
> When I remove the cookieStore property the route installs and runs normally. 
> The "#flowCookieStore" is binded to registry like it was in camel 3.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to