Versions Compared

Key

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

...

2. Embedded - static servicemix.xml file configuration used for testing or encapsulating ServiceMix into a web application as the entire use of ServiceMix. In other words, you will not be able to deploy other stuff onto this type of ServiceMix configuration at runtime. You would have to shutdown, reconfigure and then restart.

EXPLAIN SA AND SU HERE TOO.

This tutorial focuses on deploying lightweight components to the servicemix-lwcontainer.

...

NOTE: If you look at the servicemix.xml file you will see it is strictly being used to configure the ServiceMix jbi container. We will not be editing this file for this type of deployment. It is not recommended to edit the servicemix.xml except for testing purposes or if you are creating an embedded ServiceMix configuration.

NOTE: There are two major phases to creating a lightweight component that is ready for deployment: one, is the development phase of the component, which includes coding and compiling/building the code, two is creating the packaging necessary for the component to be installed onto the JBI container. This document will focus on the second part. Any steps relating to compilation are simply performed here to get us to the point that we can assemble the component into a JBI service assembly or service unit.

The following example shows several lightweight components (which make up the loan broker example) being deployed.

...