design patterns - Keep camel route active during a specific time range -


i have camel route consuming jms queue. have ensure, route runs during specific time range , stopped otherwise.

what best design pattern that? can't find appropriate enterprise pattern or component option.

my idea quartz-job start/stops route.

thx

have @ http://camel.apache.org/cronscheduledroutepolicy.html

you can write cron expression , add route startup policy.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -