hello,

      I want to schedule a quartz cron job which is supposed to run at a
specific time every day but be stopped only if the queue from where it is
consuming is empty o.e. all messages  are consumed. I saw the examples of
org.apache.camel.routepolicy.quartz2.CronScheduledRoutePolicy , but its
requires a start & end time. But I am not sure of the end time , it based
on the no of messages in queue and I can't predict a proper window.

Is there is a way this could be done in camel .

Regards,
felix

Reply via email to