Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-168

servicemix-http component depends on servicemix-core for compilation which can be removed and the dependcy can be dropped down to test scope.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.2.3, servicemix-http-2008.01
    • servicemix-http-2009.01
    • servicemix-http
    • None
    • Patch Available

    Description

      Currently separated servicemix-http component has compilation time dependency on servicemix-core which can be dropped down to test scope with some changes. I am attaching patch here for the same.

      The changes are mainly to ManagedHttpServelet class which uses JBIContainer and componentMBeanImpl to retrieve HttpComponent which can be changed to use inteface from servicemix-utils pacakge and those interfaces can be implemented by JBIContainer (which already does implement Container interface from servicemix-utils) and similarly ComponentMBeanImpl can implement new interface ComponentUtil to provide getComponent().

      Attachments

        1. SM-1741-servicemix-utils.patch
          2 kB
          Ulhas Bhole
        2. SM-1741-servicemix-core.patch
          2 kB
          Ulhas Bhole
        3. SM-1741-http-comp.patch
          4 kB
          Ulhas Bhole

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              ulhasbhole Ulhas Bhole
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: