Claus Ibsen created CAMEL-9176:
----------------------------------

             Summary: CXFRS endpoint should ideally be singleton
                 Key: CAMEL-9176
                 URL: https://issues.apache.org/jira/browse/CAMEL-9176
             Project: Camel
          Issue Type: Improvement
          Components: camel-cxfrs
            Reporter: Claus Ibsen
             Fix For: Future


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.



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

Reply via email to