See about graceful shutdown

On Wed, Oct 12, 2016 at 4:59 PM, Leo Prince <> wrote:
> Hi Camel Users,
> We are using camel-kafka consumer to read message from Kafka.While
> performing Production deployment we kill this Java project and install a new
> jar. We use systemctl to manage java processes. While doing systemctl stop
> {java_process) I assume the inflight messages are lost. In camel route I am
> looking for something like stop processing new messages in Kafka and I can
> wait for all the inflight messages to complete and then stop the
> java_process in systemctl and deploy the new jar.
> Thanks!
> --
> View this message in context: 
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
----------------- @davsclaus
Camel in Action 2:

Reply via email to