Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

And that completes the writing of a recieving component, and as with the first component we need to build this component ready for deployment using the maven jbi:generateInstaller goal to a JBI server (in our case the wonderful ServiceMix).

Deploying your Components onto ServiceMix

Once of the key differences between the Spring Client Toolkit and the standard ServiceMix client libraries is that the Spring Client Toolkit is designed to generate standard JBI components and service units that can run in any JBI compliant container, this means that you are able to build installable zip files that can be deployed into the server, in this example we are going to deploy to a stand-alone servicemix server, however you could also deploy to a Geronimo and JBoss instance running servicemix embedded.

First up you will need a copy of ServiceMix, so download and unzip this on your machine.