SwiftMQ 7.0.2/Glassfish V2

This document explains how to integrate SwiftMQ 7.0.2 via its JCA 1.5 JMS Resource Adapter into Glassfish V2.

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.

SwiftMQ Requirements

Deploy the Resource Adapter

Configure a Connection Pool

Configure a Connection Factory

Configure Administered Objects

Example 1: Receive-only MDB

Example 2: Receive/Send MDB (full XA)