Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Anchortoptop

Basic Example

Overview

This document describes how to run the Basic example and provides details about what it does. For information on the business use case, please refer to: Use Case for Basic.

The Basic example illustrates the following:

...

From a command shell, go to the Basic example directory:

...


Then type:

...



...

This example starts an ActiveMQ JMS Broker, so be sure to stop any ServiceMix server already running.

...

Stopping the Basic Example

To terminate the Basic example type "CTRL-C" in the command shell in which it is running.

...

The diagram below illustrates the flow of messages through the Basic components.

...



...

Image Modified
 

...



Messages flow through the components as follows:

...

Every 5 seconds logging information is written to the console, followed by information from the trace component. Note, that the triggers' property values of "name", "My Example Job", "group", and "ServiceMix" are displayed along with a timestamp. Typical output looks like the following:

...

Details

The following table provides more details about the function of each component and bean in the servicemix.xml file.

...

Image Modified

...