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.