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

Jono Morris commented on CAMEL-20019:
-------------------------------------

The camel-http-base cookie handler used by producers saves the cookies received 
as headers from an HTTP response and then sends these back when calling the 
same URI.  This is useful for maintaining session/state etc.

The examples I've seen of Vertx cookie handling involve add/get/expire, e.g. 
https://github.com/apache/camel/blob/main/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpEngineTest.java#L926.
  Would that be what we want to do, i.e. allow cookies to be added, expired 
etc. in routes, but in a more abstract way?

> camel-platform-http-vertx - Add support for cookie handler
> ----------------------------------------------------------
>
>                 Key: CAMEL-20019
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20019
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-platform-http-vertx
>            Reporter: Claus Ibsen
>            Assignee: Jono Morris
>            Priority: Major
>             Fix For: 4.x
>
>
> Either we need to do something like we do with camel-base-http and the 
> CookieHandler.
> This also seems to be using the CookieManager from java.net. I am not sure if 
> vertx uses that at all.
> So its likely better to see what vertx-http have for cookie and use that
> https://vertx.io/docs/vertx-web/java/#_handling_cookies



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

Reply via email to