Versions Compared

Key

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

...

This document describes how to run the _Basic: example is used and provides details about what it does.
The source code for the Basic example is stored in the Service Mix installation directory under the examples\basic directory in the servicemix.xml file. {Note: It is helpful to look at the source code while reading this description.

The Basic example illustrates the following concepts:

  • use of declarative programming
  • how to use an ActiveMQ message broker
  • how to use a Quartz timer
  • how to use the jencks JCA container
  • how to use a JOTM transaction manager
  • how to use tracing

The source code for the Basic example is stored in the Service Mix installation directory under the examples\basic directory in the servicemix.xml file. {Note: It is helpful to look at the source code while reading this description.

There are several components in the servicemix.xml file. One component sets off a trigger to send messages to a source destination. Then those messages are consumed by another component and sent to a different output destination - along with a trace component displaying the output messages as they arrive. This demonstrates a simple JMS bridge in action along with timers and tracing.

...