You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/05/29 06:44:12 UTC

[jira] [Resolved] (CAMEL-9176) CXFRS endpoint should ideally be singleton

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

Claus Ibsen resolved CAMEL-9176.
--------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s:     (was: Future)
                   2.18.0

Its singleton now

> 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
>            Assignee: Claus Ibsen
>             Fix For: 2.18.0
>
>
> 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)