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

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

GitHub user tadayosi opened a pull request:

    https://github.com/apache/camel/pull/1498

    CAMEL-10914: CxfConsumer doesn't clean up the CXF endpoint MBean upon stop

    https://issues.apache.org/jira/browse/CAMEL-10914

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tadayosi/camel CAMEL-10914

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1498.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 #1498
    
----
commit 6d31d169dc17138ed02ad1164a4b2209729677fc
Author: Tadayoshi Sato <[email protected]>
Date:   2017-03-01T11:20:21Z

    CAMEL-10914: CxfConsumer doesn't clean up the CXF endpoint MBean upon stop

----


> CxfConsumer doesn't clean up the CXF endpoint MBean upon stop
> -------------------------------------------------------------
>
>                 Key: CAMEL-10914
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10914
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.18.2
>            Reporter: Tadayoshi Sato
>         Attachments: camel-cxf-hawtio.zip
>
>
> {{CxfConsumer}}'s {{doStop()}} method just does {{server.stop()}} and not 
> {{server.destroy()}}:
> {code:java}
>     protected void doStop() throws Exception {
>         server.stop();
>         super.doStop();
>     }
> {code}
> This leads to a growing number of dangling endpoint MBeans on CXF side which 
> are never used.
> To reproduce the issue, extract the attached reproducer 
> {{camel-cxf-hawtio.zip}} and do the following steps:
> # Run the following command:
> {code}
> $ mvn hawtio:camel
> {code}
> # Access hawtio Camel tab [http://localhost:8080/hawtio/]. Start and stop the 
> route {{cxf-greeting}} several times.
> # Go to hawtio JMX tab and check CXF endpoint MBeans are growing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to