How can I check if two applications are using the same queue of messages, because I am having problems with more than an application in the same server, and I think exists two applications using the same queue of messages, and I like check it.
Check out the queue console in JBoss for that queue under jboss.mq.destination. It lists the number of client connections. You can also get a thread dump.