Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9176

CXFRS endpoint should ideally be singleton

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.18.0
    • camel-cxfrs
    • 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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: