Hi

You could also look into using a route policy, that keeps check on the
date, and when there is a date cross over, it stops the consumer,
change the jms selector, and starts it again.

Though haven't tried myself, but is maybe possible. The route policy
you would need some background thread etc to keep an eye on the
current date and what jms selector is in use, and if its not correct,
then do the change.

http://camel.apache.org/routepolicy

On Tue, Mar 1, 2016 at 9:27 PM, Michele
<michele.mazzi...@finconsgroup.com> wrote:
> Hi Claus,
>
> thank you so mutch.
>
> Ok... I need to retrieve day+1 a outcome of a import flow of previous day.
>
> I thought to store outcome in jms queue and then retrieve it to create a
> file, but this is not possible for dynamic selector.
>
> Could I use a caching system (http://camel.apache.org/infinispan.html) to do
> the same thing? Or any suggestions?
>
> Thanks in advance.
>
> Greetings
>
> Michele
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-configure-jms-consumer-with-dynamic-selector-tp5778492p5778494.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to