GitHub user adessaigne opened a pull request:
https://github.com/apache/camel/pull/90
Provide access to the shutdown task Future in order to have more control
over it
I'm submitting this patch in order to have a greater control over the
shutdown task.
It's very useful when integrating Camel in another product. Therefore you
can have a user interface for controlling the life-cycle of a context. The user
can start or stop a context and if it takes too much time to stop he can force
it by calling getCurrentShutdownFuture().cancel(true)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/adessaigne/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/90.patch
----
commit 65dc45d9ac0cfd5ed7f2567d93f59b97885274dc
Author: Antoine DESSAIGNE <[email protected]>
Date: 2014-01-23T11:16:02Z
Provide access to the shutdown task Future in order to have more control
over it
----