[ 
https://issues.apache.org/jira/browse/CAMEL-9049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14663141#comment-14663141
 ] 

ASF GitHub Bot commented on CAMEL-9049:
---------------------------------------

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 <[email protected]>
Date:   2015-08-08T19:40:57Z

    CAMEL-9049: Modifying timing that Jetty connector added and removed

----


> Websocket Component not shutting down embedded jetty server on component 
> shutdown
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-9049
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9049
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-websocket
>    Affects Versions: 2.15.2
>            Reporter: Andrew Block
>             Fix For: 2.16.0
>
>
> When stopping the websocket component, it has been observed that the embedded 
> Jetty server does not completely shut down. This causes a bind error when 
> attempting to start the component again. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to