Hi,
 
Thanks for the help, much appreciated,will give it a try!

Regards,
/Tom

> On 30 Jan 2020, at 05:41, Claus Ibsen <[email protected]> wrote:
> 
> Hi
> 
> You can just use a singleton bean and share data via the bean between routes.
> 
> There are also the cache components
> 
>> On Wed, Jan 29, 2020 at 9:25 PM Tom Coudyzer <[email protected]> wrote:
>> 
>> Hi,
>> 
>> I was able to use a cookieHandler in the URI. However the result remains
>> the same I still get the 401. I also tried to instantiate the
>> instanceCookieHandler via the JNDIRegistry override but that did not work
>> either and in addition this method is now deprecated.
>> 
>> So still searching for some explanation our sample how you could share
>> cookies / handle a session between two different routes.
>> 
>> Regards,
>> /Tom
>> 
>>> On Tue, Jan 28, 2020 at 11:29 AM Tom Coudyzer <[email protected]> wrote:
>>> 
>>> Hi,
>>> 
>>> I'm in need of some session handling in Camel.
>>> 
>>> I found this info
>>> 
>>> https://camel.apache.org/manual/latest/http-session-handling.html
>>> 
>>> I'm looking to implement session handling on context level but it's not
>>> clear how I can do this in the Java DSL
>>> 
>>> What I have is a login url which would give me a cookie, I would need to
>>> re-use that in subsequent route calls to avoid a 401.
>>> 
>>> Could you point out to a sample in Java DSL how this could be achieved?
>>> 
>>> Sorry, for my very limited knowledge on this, but trying to learn
>>> something new!
>>> 
>>> Many thanks in advance for the feedback, much appreciated!
>>> 
>>> Regards,
>>> Tom
>>> 
> 
> 
> 
> -- 
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to