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.

...

The following diagram illustrates this:

...

...

Image Modified

...

  1. External means the application is outside of the ESB.
  2. Resource Adapter: a resource adapter provides connectivity between a specific external application and the ESB. In the Basic example the jencks container provides a JMS resource adapateradapter.
  3. Binding Component (BC): a BC provides connectivity to applications that are external to the ESB.
  4. Service Engine (SE): a service engine provides business logic and transformation services to other components within the enterprise service bus.

...

For a brief explanation of the XML tags in the servicemix.xml file, please see:

...

...