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:

Error formatting macro: snippet: java.lang.IllegalArgumentException: Invalid url: must begin with a configured prefix.

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.

Error formatting macro: snippet: java.lang.IllegalArgumentException: Invalid url: must begin with a configured prefix.

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:

Error formatting macro: snippet: java.lang.IllegalArgumentException: Invalid url: must begin with a configured prefix.