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

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -