JOnAS uses a proprietary deployment descriptor called "jonas-ra.xml" to overwrite the default properties of the resource adapter and to configure connection factories, activation specs and administered objects like queues and topics.
We have created a jonas-ra.xml and configured it for this example. Please verify the SMQP-URL specified in jonas-ra.xml and change it if necessary (e.g. by using SwiftMQ HA Router or if you run SwiftMQ on a different host than localhost).
Unpack it in directory "j2ee" of your SwiftMQ distribution. jonas-ra.xml must be part of the resource adapter's "rar" file. We use "swiftmq.rar" from directory "j2ee". You can use JOnAS' tool "RAConfig" to update the "rar" with jonas-ra.xml.
From directory "j2ee" perform:
RAConfig -U ./jonas-ra.xml swiftmq.rar
It stores jonas-ra.xml in swiftmq.rar.