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
Post a Comment