Sounds like a good idea. Unfortunately JBM is in maintenance mode. The new messaging service in JBoss is HornetQ.
http://www.jboss.org/hornetq
If you are using old version of JBM, you can find the configuration details in its user guide.
Reply to this message by going to Community
Start a new discussion in JBoss Messaging at Community