Hi,

As per my understanding, shutdown strategy is set per camelcontext.
Is there a way / other ways where we can apply shutdown strategy or custom
shutdown implementation per route(s) in a camel context?

In my use case, i have number of events stored in database already. In order
to avoid reprocessing a single event multiple times, i use onConsume option
in sql component and mark their status e.g status=1 meaning 'processing'
where initially records were in the db with status=0 meaning 'initial'. What
i want to do is that when the PID of my camel context and routes is signaled
like 'kill -9 <pid>', i want to reset the status of records back to status=0
'initial' in order not to miss processing those records when the process is
restarted.

Or is there any other way doing what i want to achieve?

Thanks 




--
View this message in context: 
http://camel.465427.n5.nabble.com/shutdown-strategy-is-set-on-context-level-way-of-route-level-tp5808094.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to