Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

ServiceMix LightWeight Container

Warning
Deprecated component
Deprecated component

The lightweight components are deprecated. You can use the servicemix-bean component instead to deploy your own simple components, or use the standard components.

...

The servicemix-lwcontainer is a JBI service engine that accepts servicemix.xml configuration files containing
lightweight components.

Take a look at the loan-broker demo or the bpel-bpe demo that ships with ServiceMix 3.x distributions.

Maven Archetype

You can use Maven servicemix-lwcontainer-service-unit archetype to create a LW container service unit:

Code Block

mvn archetype:create \
  -DarchetypeGroupId=org.apache.servicemix.tooling \
  -DarchetypeArtifactId=servicemix-lwcontainer-service-unit \
  -DarchetypeVersion=2010.01 \
  -DgroupId=your.group.id \
  -DartifactId=your.artifact.id \
  -Dversion=your-version

Deployment

Service units targeted at servicemix-lwcontainer component should contain a file named servicemix.xml that should have the following format:

...