You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Chad Gallemoare (JIRA)" <ji...@apache.org> on 2007/08/09 15:26:02 UTC

[jira] Created: (SM-1027) InstallationContext.getInstallationDescriptorExtension() not returning all extensions

InstallationContext.getInstallationDescriptorExtension()  not returning all extensions
--------------------------------------------------------------------------------------

                 Key: SM-1027
                 URL: https://issues.apache.org/activemq/browse/SM-1027
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-core
    Affects Versions: incubation
            Reporter: Chad Gallemoare


During the Bootsrap init(InstallationContext installContext) you should  be able to call installContext.getInstallationDescriptorExtension() and receive a DocumentFragment back of all the extensions in the jbi.xml.  For example:

<component>
         .....
         Component info
         .....
         <!-- Installation Description Extensions -->
         <observer:Observer>true</observer:Observer>
         <config:Configuration>
                 <config:Location>localhost</config:Location>
                 <config:Port>8888</config:Port>
         </config:Configuration
 </component>

 Currently when you call
 getInstallationDescriptorExtension during  Bootstrap init(), you only get
 back the following
 extensions:

 <observer:Observer>true</observer:Observer>

 The rest of the extensions are being left off.  I checked out the source
 code and verified that what I thought I was seeing was correct.
 I modified the ComponentTest (under /core/servicemix-core) to compare the
 expected output to the actual output, also modified the component.xml
 used in the test to include a extension like the one above.  Once I did this
 the unit test failed, only returning
 me the first extension listed. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1027) InstallationContext.getInstallationDescriptorExtension() not returning all extensions

Posted by "Chad Gallemoare (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chad Gallemoare updated SM-1027:
--------------------------------

    Attachment: Sm-1027.zip

I've attached the component.xml file and the ComponentTest that I modified to make the test fail to use as a diff for what is in the baseline.

> InstallationContext.getInstallationDescriptorExtension()  not returning all extensions
> --------------------------------------------------------------------------------------
>
>                 Key: SM-1027
>                 URL: https://issues.apache.org/activemq/browse/SM-1027
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core
>    Affects Versions: incubation
>            Reporter: Chad Gallemoare
>         Attachments: Sm-1027.zip
>
>
> During the Bootsrap init(InstallationContext installContext) you should  be able to call installContext.getInstallationDescriptorExtension() and receive a DocumentFragment back of all the extensions in the jbi.xml.  For example:
> <component>
>          .....
>          Component info
>          .....
>          <!-- Installation Description Extensions -->
>          <observer:Observer>true</observer:Observer>
>          <config:Configuration>
>                  <config:Location>localhost</config:Location>
>                  <config:Port>8888</config:Port>
>          </config:Configuration
>  </component>
>  Currently when you call
>  getInstallationDescriptorExtension during  Bootstrap init(), you only get
>  back the following
>  extensions:
>  <observer:Observer>true</observer:Observer>
>  The rest of the extensions are being left off.  I checked out the source
>  code and verified that what I thought I was seeing was correct.
>  I modified the ComponentTest (under /core/servicemix-core) to compare the
>  expected output to the actual output, also modified the component.xml
>  used in the test to include a extension like the one above.  Once I did this
>  the unit test failed, only returning
>  me the first extension listed. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.