|
You can use ActiveMQ with Hermes JMS DemoMark Bucayan kindly submitted a Flash demo There is a screen shot available. Here are a few steps to get you started with ActiveMQ when using HermesJMS. Add ActiveMQ as a providerYou need to register the jars required to run ActiveMQ inside HermesJMS. To do this click on Options -> Preferences. Then on the Providers tab add the following jars
To get a copy of these jars you can run the 'maven war' target in the ActiveMQ directory and the jars will all be copied into target/activemq/WEB-INF/lib Configure an ActiveMQ SessionOn the Preferences dialog, the Sessions tab, create a new session using the org.activemq.ActiveMQConnectionFactory connection factory. You can use the properties table to configure the various factory properties, like the brokerURL to connect to the server, if you wish to connect to a remote ActiveMQ message broker. Finally you can add some Destinations to the dialog on this page. (Right click to add). Add the destination FOO.BAR for the default test programs. Viewing messages on queuesUse the tree control to open your session and the FOO.BAR destination. Try browse the queue. Then run the ActiveMQ sample producer via maven producer And hitting refresh in HermesJMS and you should see the messages that have just been published. |