Overview of the Basic Example
This document describes how 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.
The Basic example illustrates the following concepts:
...
Component or Bean ID | Description |
---|---|
timer | Every 5 seconds, until the program is terminated, the timer component kicks off a trigger. The job has a property called "name" with a value of "My Example Job" and another property called "group" with a value of "ServiceMix." The trigger is converted to a normalized message and routed through the Normalized Message Router (NMR). |
inputSender | Receives the normalized message (the trigger), converts it to a JMS message, and publishes it to the topic called demo.org.servicemix.source. It uses the jmsFactory |
Running the Basic Example
To run Basic:
##From #From a command shell, go to the Basic example directory:
Code Block |
---|
cd [servicemix_install_dir]\examples\basic |
##To #To run it:
Code Block |
---|
[servicemix_install_dir]\bin\servicemix servicemix.xml |
where servicemix_install_dir is the location in which Service Mix was installed.
Stopping the Basic Example
To terminate the Basic example type "CTRL-C" in the command shell in which it is running.
Related Documentation
Please see ..., plus Jira XX for details on fields...