You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by cgallemore <cg...@gestalt-llc.com> on 2007/08/01 21:16:56 UTC

InstallationContext.getInstallationDescriptionExtensions not returning all extensions.

Hi,

I posted this on the user list and meant to get it on the dev list.....


I have a new Service Engine and i have defined some extensions in my jbi.xml
like below:

<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>

The problem I am having is that when I call
getInstallationDescriptorExtension during my Bootstrap init(), I only get
back to 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, and as expected it failed, only returning
me the first extension listed.

Is this expected behavior, or is this a bug?  I have tested this same
component with OpenESB, and it parses my Extensions fine.  I looked
at the spec and it doesn't really define wheter or not you can have multiple
extensions, with different namespaces, or not.  Let me know
if I need to file a bug, or I can reach out the the OpenESB community as
well and see what the expected behavior should be.

Thanks

-Chad
-- 
View this message in context: http://www.nabble.com/InstallationContext.getInstallationDescriptionExtensions-not-returning-all-extensions.-tf4202093s12049.html#a11952026
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


Re: InstallationContext.getInstallationDescriptionExtensions not returning all extensions.

Posted by cgallemore <cg...@gestalt-llc.com>.
I will create a JIRA issue, I don't have a patch as i didn't have the time to
see why it didn't work.  Thanks for the response.


gnodet wrote:
> 
> Sorry about the delay.
> I think this is a bug.
> Would you mind raising a JIRA (and attach a patch if you have one) ?
> 
> On 8/1/07, cgallemore <cg...@gestalt-llc.com> wrote:
>>
>> Hi,
>>
>> I posted this on the user list and meant to get it on the dev list.....
>>
>>
>> I have a new Service Engine and i have defined some extensions in my
>> jbi.xml
>> like below:
>>
>> <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>
>>
>> The problem I am having is that when I call
>> getInstallationDescriptorExtension during my Bootstrap init(), I only get
>> back to 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, and as expected it failed, only returning
>> me the first extension listed.
>>
>> Is this expected behavior, or is this a bug?  I have tested this same
>> component with OpenESB, and it parses my Extensions fine.  I looked
>> at the spec and it doesn't really define wheter or not you can have
>> multiple
>> extensions, with different namespaces, or not.  Let me know
>> if I need to file a bug, or I can reach out the the OpenESB community as
>> well and see what the expected behavior should be.
>>
>> Thanks
>>
>> -Chad
>>
>> --
>> View this message in context:
>> http://www.nabble.com/InstallationContext.getInstallationDescriptionExtensions-not-returning-all-extensions.-tf4202093s12049.html#a11952026
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/InstallationContext.getInstallationDescriptionExtensions-not-returning-all-extensions.-tf4202093s12049.html#a12072171
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


Re: InstallationContext.getInstallationDescriptionExtensions not returning all extensions.

Posted by Guillaume Nodet <gn...@gmail.com>.
Sorry about the delay.
I think this is a bug.
Would you mind raising a JIRA (and attach a patch if you have one) ?

On 8/1/07, cgallemore <cg...@gestalt-llc.com> wrote:
>
> Hi,
>
> I posted this on the user list and meant to get it on the dev list.....
>
>
> I have a new Service Engine and i have defined some extensions in my jbi.xml
> like below:
>
> <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>
>
> The problem I am having is that when I call
> getInstallationDescriptorExtension during my Bootstrap init(), I only get
> back to 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, and as expected it failed, only returning
> me the first extension listed.
>
> Is this expected behavior, or is this a bug?  I have tested this same
> component with OpenESB, and it parses my Extensions fine.  I looked
> at the spec and it doesn't really define wheter or not you can have multiple
> extensions, with different namespaces, or not.  Let me know
> if I need to file a bug, or I can reach out the the OpenESB community as
> well and see what the expected behavior should be.
>
> Thanks
>
> -Chad
>
> --
> View this message in context: http://www.nabble.com/InstallationContext.getInstallationDescriptionExtensions-not-returning-all-extensions.-tf4202093s12049.html#a11952026
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/