You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tadayoshi Sato (JIRA)" <ji...@apache.org> on 2017/03/01 11:16:45 UTC

[jira] [Updated] (CAMEL-10914) CxfConsumer doesn't clean up the CXF endpoint MBean upon stop

     [ https://issues.apache.org/jira/browse/CAMEL-10914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tadayoshi Sato updated CAMEL-10914:
-----------------------------------
    External issue URL: https://issues.jboss.org/browse/ENTESB-6605

> 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
>
> {{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)