Checking the cookies header could help us find out the reason.
BTW, I think Camel will cache the HttpEndpoint for sending the message, I'm not 
sure if it can cause some trouble here.


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Sunday, June 23, 2013 at 1:05 AM, Claus Ibsen wrote:

> On Wed, Jun 19, 2013 at 12:11 AM, ramrubio <ramru...@yahoo.com 
> (mailto:ramru...@yahoo.com)> wrote:
> > It looks like Camel caches the client connection as long as URL is exactly
> > the same.
> >  
> > This causes multiple requests by different browser clients to use same
> > session id.
> >  
> > Is this expected behavior? It does not seem correct to me for two different
> > clients to have the same session id on server simply because they use the
> > same URL.
>  
>  
>  
> I would assume that the cookies for the session id's from the "real
> target" needs to be propagated,
> and then on the Camel side, there shouldn't really be any session in
> use, as its just a proxy.
>  
> So can you see if the session id cookies returned from the "real
> target" gets returned to Camel, and that Camel sends those back to the
> client.
>  
>  
>  
> >  
> > Use case is that Camel is acting as a proxy with a slip configuration that
> > routes the request to a servlet component.
> >  
> > /Ramon
> >  
> >  
> >  
> > --
> > View this message in context: 
> > http://camel.465427.n5.nabble.com/Servet-Componnet-HttpSession-tp5734314p5734320.html
> > Sent from the Camel - Users mailing list archive at Nabble.com 
> > (http://Nabble.com).
>  
>  
>  
>  
>  
> --
> Claus Ibsen
> -----------------
> www.camelone.org (http://www.camelone.org): The open source integration 
> conference.
>  
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cib...@redhat.com (mailto:cib...@redhat.com)
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



Reply via email to