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

Service beans with custom lifecycle on CxfRsEndpoint

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.23.0
    • Fix Version/s: 2.23.1, 2.24.0
    • Component/s: camel-cxfrs
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown
    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: