DefaultShutdownStrategy is trying to shutdown the camel context in a graceful way.
You can override the default time out from 60 seconds to 1 seconds.
All you need to do is define an instance of DefaultShutdownStrategy by setting the timeout property in the camel context configuration file.
Yeah as Willem says you can lower the timeout of the graceful shutdown. You can read more about it here http://camel.apache.org/graceful-shutdown.html
And the default timeout is 300 seconds.
Btw can you tell a bit more about your use-case for just discarding the messages on the seda queues? Maybe its a good use-case, and if so, we could possible enhance Camel to allow you to more easily configure the seda component/endpoints to tell it, to just discard messages when stopping.
Thanks for your answers mr. Willem and mr. Claus .
About that use case, I'm not sure if our system would be considered a good one. The application we are developing did not really need Camel, however, the lead programmer in my department considered the app small enough to use it as a way for some of us to start experimenting with Fuse ESB and Camel without sacrificing delivering dates.
Honestly I haven't used any of these technologies (or similar ones) before, and all I can say is that I'm pretty amazed so far.