Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3601

Cannot override extension in bus-extension.txt

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.4.1
    • Fix Version/s: None
    • Component/s: Bus, Core
    • Labels:
      None

      Description

      Hi,
      it looks like we cannot override CXF's extends if it is in bus-extensions.txt file.

      I want to customize cxf's HTTPTransportFactory which defined in bus-extensions.txt. however, it seems I cannot override the original one from CXF. If I create a new bus-extension.txt, and put my customized HTTPTransportFactory there, e.g.
      mycxf.jetty.MyJettyHTTPDestinationFactory:org.apache.cxf.transport.http.HTTPTransportFactory:true, CXF will load both my bus-extension.txt and its own bus-extension.txt in ExtensionManager, and will use its HTTPTransportFactory to replace MyJettyHTTPDestinationFactory.

      Could you please take a look? thanks.

      David

        Attachments

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              veaven David Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: