Sample JMS client that sends and receives text messages to the HornetQ JMS provider.
Maven, Spring, JMS, HornetQ
Steps to run the test:
-
Install HornetQ
-
Define new queue "TestQueue1".
In the {HornetQ-Install-path}\config\stand-alone\non-clustered\hornetq-jms.xml file add below mentioned new queue definition,
-
Start HornetQ in standalone mode.
{HornetQ-Install-path}\bin\run.bat
-
Edit configuration in messagequeue.properties file to point to the HornetQ, if necessary.
-
Run test.
mvn test