Raymond created CAMEL-20729:
-------------------------------
Summary: 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
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&throwExceptionOnFailure=true&maxTotalConnections=20&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)