You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

ServiceMix comes with a server that you can either embed in Spring or Geronimo or you can run the server as a stand alone process. To run ServiceMix in standalone mode, get a binary download of ServiceMix and type the following commands in a terminal

cd bin
servicemix

You should now have ServiceMix running with a sample configuration.

When the server is running, whether embedded or as a stand alone service you should be able to use a JMX Console to monitor the statistics and state of the server.

Overview of the example configuration

The default example runs an embedded ActiveMQ message broker, a JCA Container and a transaction manager (JOTM) together with some simple example components which consume JMS messages using the JCA container.

The example components set off a timer 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. There are many more components available to use in ServiceMix.

  • No labels