camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Hoffer <>
Subject Can't shut down due to inflight and pending exchanges
Date Fri, 26 Feb 2016 19:55:51 GMT
For some reason we are getting the following message from
the DefaultShutdownStrategy "Waiting as there are still 1 inflight and
pending exchanges to complete, timeout in 300 seconds."

Which causes our app to not shut down for 5 minutes.  This is happening
although there was no work for the app to do.  E.g. we run as a service,
have lots of routes doing file and sftp work but in this case the app
starts no work to process but it gives this message on service shutdown.
 (Happens also when there was work to do.)

What might be this 1 exchange that is processing?  How can I determine what
it is?  Can I change the shut down strategy to cancel what might be


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message