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

camel-cxf - The namespace parser should use FactoryBean

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: camel-cxf
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The camel-cxf uses some poor spring namespace parsing where it does not use factory bean for all of those elements - without this the lifecycle of these objects cannot be handled safely.

      So you may obtain a <cxf:cxfEndpoint> that is not properly initialized/started.

      If you look at camel-core-xml camel-spring how it does it, then we use factory beans for those elements which allows to control the lifecycle from the getObject method that spring calls.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: