This content has been marked as final.
Show 1 reply
-
1. Re: create one JMS queue
jaysensharma Nov 18, 2014 12:03 PM (in response to ermaki)The following article demonstrates how to create a JMS queue on JBoss AS7
http://middlewaremagic.com/jboss/?p=1616
And the following KCS shows how to use MDB and queueSend program to send and receive messages from AS7.1 queue
http://middlewaremagic.com/jboss/?p=794
In domain mode you can simply run the following "$JBOSS_HOME/bin/jboss-cli.sh" command to create a JMS queue:
/profile=full/subsystem=messaging/hornetq-server=default/jms-queue=TestQ:add(entries=["java:jboss/exported/jms/queue/TestQ"])
Which will generate the following kind of entry inside the mentioned profile "full" in your domain.xml file.
<jms-destinations> <jms-queue name="TestQ"> <entry name="java:jboss/exported/jms/queue/TestQ"/> </jms-queue> </jms-destinations>