I newbie to JMS(java Messaging service). I want to run sample JMS application using jboss 6.
I have tired searching google and got like this. Those link are refer jboss 7.
1.How to configure JMS in jboss 6?
2.Is there Jboss7 have in built-in JMS? or need configure manually?
3.sample Application using Jboss 6?
Finally i got the link for sample jms application using Jboss 6.x. There are two ways you can configure jms queue in jboss 1.Add message queue details in jboss/server/default/deploy/hornetq/hornetq.jms.xm
2.create xml file in your workspace and add the message queue details
Maintain this file under META-INF folder of in your workspace.
Refer this sample application.
In this example includes 1.How to configure jms in jboss using hornetq. 2.Sending messages to jms message queue 3.Display messages from jboss server
In Jboss 7 (and 6 as well) you have bundled HornetQ server. In Jboss 6 it is located in deploy\hornetq.sar. If you want to add destination you can specify it in hornetq-jms.xml file:
In Jboss 7 it looks like below:
You can find more information in HornetQ documentation
Also you can put your own xml file name like
mysettings-hornetq-jms.xml
. Put it inside thehornetq
folder in thejboss6 > deploy
folder.when name the xml use
-hornetq-jms.xml
( your name infront )