You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stephan Siano (JIRA)" <ji...@apache.org> on 2016/10/18 09:07:58 UTC

[jira] [Updated] (CAMEL-10392) HTTP session handling in Camel routes

     [ https://issues.apache.org/jira/browse/CAMEL-10392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Siano updated CAMEL-10392:
----------------------------------
    Component/s: camel-http

> HTTP session handling in Camel routes
> -------------------------------------
>
>                 Key: CAMEL-10392
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10392
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ahc, camel-cxf, camel-http, camel-http-common, camel-http4, camel-jetty, camel-netty4-http, camel-restlet, camel-undertow
>    Affects Versions: 2.18.0
>            Reporter: Stephan Siano
>            Assignee: Stephan Siano
>
> Provide support for client side HTTP session handling for different HTTP based consumer endpoints.
> An interface (CookieHandler) and two implementations ExchangeCookieHandler and InstanceCookieHandler will be provided in camel-http-common.
> The endpoints in the mentioned HTTP based components are extended by a cookieHandler parameter.
> If no CookieHandler is defined on the endpoint it will continue working as it did before (without any session support). 
> An ExchangeCookieHandler will maintain session cookies on exchange basis. If the same URI is called multiple times from the same exchange state will be maintained, different exchanges do not share state. This can be used for stateful services.
> An InstanceCookieHandler will maintain session information within it's instance. This means that state will be shared across exchanges. This behaviour is similar to the existing cookieStore parameter for the camel-http4 component (but available for all mentioned components, not only camel-http4)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)