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

Service beans with custom lifecycle on CxfRsEndpoint

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.23.0
    • 2.23.1, 2.24.0
    • camel-cxfrs
    • None
    • Patch Available
    • Unknown
    • Patch

    Description

      The CXF server factory supports setting "serviceBeans" instead of (or in addition to) "resourceClasses" which will have their lifecycle managed by the application instead of the JAX-RS implementation. This is useful, e.g. to get injection support from your application container.

       

      Currently it is not possible to set such beans on the CxfRsEndpoint.

      Attachments

        1. serviceBean.diff
          5 kB
          Jens Kleine-Herzbruch

        Issue Links

          Activity

            People

              onders Onder Sezgin
              jensgr@gmx.net Jens Kleine-Herzbruch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: