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

Cannot override extension in bus-extension.txt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.4.1
    • None
    • Bus, Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: