Warning | ||
---|---|---|
| ||
This component has been deprecated in favor of the servicemix-lwcontainer. |
The ServiceMix component allows you to deploy multiple servicemix.xml files into a ServiceMix container.
Deploying the ServiceMix Component
Create and deploy a JBI component archive with a jbi.xml similar to:
Wiki Markup |
---|
{snippet:id=jbi|lang=xml|url=http://svn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/servicemix/component-src/META-INF/jbi.xml} |
Deploying the servicemix.xml Files.
The servicemix.xml files are deployed as artifacts of a JBI service assembly. Here's a sample servicemix.xml, notice that the <container> element is replaced with a <serviceunit> element.
Wiki Markup |
---|
{snippet:id=servicemix|lang=xml|url=http://svn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/servicemix/su1-src/servicemix.xml} |
The servicemix.xml file needs to be put in a zip file that is inside a service assembly zip file whose jbi.xml deployment descriptor is similar to:
Wiki Markup |
---|
{snippet:id=jbi|lang=xml|url=http://svn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/servicemix/au1-src/META-INF/jbi.xml} |