GitHub user sabre1041 opened a pull request: https://github.com/apache/camel/pull/590
CAMEL-9049: Modifying timing that Jetty connector added and removed Modified the timing the Jetty connector is added and removed. Existing functionality of calling connect/disconnect methods on component from endpoint is involved multiple times. This causes the number of references to a single connector to be incorrectly calculated. This resulted in the connector from being removed too early causing the endpoint from being available or not being removed at all. This resulted in the embedded jetty server to not shut down if the context was destroyed. If the context was started once again, the embedded jetty server would still be active and a bind error would occur. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sabre1041/camel CAMEL-9049 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/590.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #590 ---- commit a94704e50aa364826ce1e6d7b1c68a97993563cd Author: Andrew Block <andy.bl...@gmail.com> Date: 2015-08-08T19:40:57Z CAMEL-9049: Modifying timing that Jetty connector added and removed ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---