Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Look into why its currently not singleton
https://github.com/apache/camel/blob/master/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsEndpoint.java#L205
Endpoints should ideally be singletons to allow reuse, and enlisting in JMX. The overhead of re-creating the endpoints can be high, and only in more rare cases should endpoints be non singleton.