Re: Cache api call result

2016-11-07 Thread lsantos
essed, as the json web >> token is valid for 20 minutes before it expires which is less than what >> takes to process one entire file. >> >> I would like to keep the jwt auth token cached in memory for let's say 15 >> minutes and refresh it periodically. >> >

Re: Cache api call result

2016-11-07 Thread Taariq Levack
which is less than what > takes to process one entire file. > > I would like to keep the jwt auth token cached in memory for let's say 15 > minutes and refresh it periodically. > > I was wondering how is the best approach to achieve this goal. I know that > camel ships with a timer component, but I never worked with it. > > > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Cache-api-call-result-tp5789849.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Cache api call result

2016-11-07 Thread lsantos
entire file. I would like to keep the jwt auth token cached in memory for let's say 15 minutes and refresh it periodically. I was wondering how is the best approach to achieve this goal. I know that camel ships with a timer component, but I never worked with it. -- View this message in conte