LibraryToggle FramesPrintFeedback

Run the default broker by entering the following at a command line:

activemq

The default broker automatically takes its configuration from the default configuration file.

[Note]Note

The activemq script automatically sets the ACTIVEMQ_HOME and ACTIVEMQ_BASE environment variables to FuseInstallDir/fuse-message-broker-Version by default. If you want the activemq script to pick up its configuration from a non-default conf directory, you can set ACTIVEMQ_BASE explicitly in your environment. The configuration files will then be taken from $ACTIVEMQ_BASE/conf.

To connect the producer tool to the http://localhost:61620 endpoint (OpenWire over HTTP), enter the following command from the example directory:

ant producer -Durl=http://localhost:61620

This command sends ten new messages to the consumer client.

[Note]Note

The JAR files for the HTTP protocol are currently located in the lib/optional subdirectory. If you construct the CLASSPATH manually, you must be sure to include the JAR files from this subdirectory.

Comments powered by Disqus