Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 779F9200BB3 for ; Wed, 19 Oct 2016 07:22:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 75DEB160AF7; Wed, 19 Oct 2016 05:22:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BC03F160AE5 for ; Wed, 19 Oct 2016 07:22:00 +0200 (CEST) Received: (qmail 85931 invoked by uid 500); 19 Oct 2016 05:21:59 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 85913 invoked by uid 99); 19 Oct 2016 05:21:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2016 05:21:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 945A72C0073 for ; Wed, 19 Oct 2016 05:21:59 +0000 (UTC) Date: Wed, 19 Oct 2016 05:21:59 +0000 (UTC) From: "Stephan Siano (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work started] (CAMEL-10392) HTTP session handling in Camel routes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 19 Oct 2016 05:22:01 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-10392 started by Stephan Siano. --------------------------------------------- > 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)