Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.18.2
-
None
Description
CxfConsumer's doStop() method just does server.stop() and not server.destroy():
protected void doStop() throws Exception { server.stop(); super.doStop(); }
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:
$ mvn hawtio:camel
- 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.
Attachments
Attachments
Issue Links
- relates to
-
CAMEL-9502 karaf - Re-installing bundle using camel-cxf throws javax.management.InstanceAlreadyExistsException
- Resolved
- links to