This document explains how to integrate SwiftMQ 9.x via its JCA 1.6 JMS Resource Adapter into JBoss 7.x. At least jboss-as-7.2.0.Alpha1-SNAPSHOT (or higher) is required to get a JCA related bug fix.
2 examples are provided. One is a simple MDB which receives messages from a queue and prints it to System.out. The second example forwards the received message to another queue and uses full XA 2-Phase-Commit.