Versions Compared

Key

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

...

Component or Bean ID

Description

timer

The timer component shows the use of the QuartzComponent class. Every 5 seconds, until the program is terminated, the timer component kicks off an instance of a SimpleTrigger, which is associated with an instance of JobDetail. 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 resulting message is converted to a normalized message and routed through the NMR.

trace

Receives normalized messages via the NMR. It transforms the normalized message into a string and logs it to the console.

Issues

The ServiceMix 2.0.2 distribution has a logging bug, so output is not logged to the console.
This can be corrected in the source distribution of servicemix 2.0.2, but replacing the
jencks-all-1.1.1..jar with jencks-all-1.1.2.jar.

1. Download the jencks-all-1.2.jar from given web site here

2. Copy the jar file to servicemix_src_install_dir\assembly\target\servicemix-2.0.2\bin\servicemix-2.0.2\lib

3. Delete the old jar file from that directory as well

4. To run the example in the source distribution:
cd fil in
..\..\bin\servicemix servicemix.xml

And include that they should copy the jar file to the servicemix-web directory as well.C:\tmp1\servicemix-2.0.2\tooling\servicemix-web\target\servicemix-web\WEB-INF

Related Documentation

For more information on the following topics please see:

...