IBM Support

Using IBM MQ RA as JMS Provider for WAS 9.0.5 to connect to a remote IBM MQ 9.3 queue manager

Question & Answer


Question

To demonstrate the use of a simple but functional Message Driven Bean (MDB) in WebSphere Application Server 9.0.5, which interacts with the IBM MQ Resource Adapter (RA) as the Java™ Messaging Service (JMS) provider to connect with an IBM MQ 9.3 Queue Manager.

Answer

The main scenario is to show how to configure both WebSphere Application Server and IBM MQ, in order for an MDB to get messages from MQ, using a WebSphere Application Server Listener Port from a Queue (Point to Point).

Additional scenarios are provided to illustrate the following:
- How to use MQ Topics to exploit Publish/Subscribe from MQ.
- How to use a WebSphere Application Server Activation Specification, instead of a WebSphere Application Server Listener Port.

This document shows all screen shots needed for beginners. 

The chapters are:
Chapter 1: MQ configuration: queue and topic
Chapter 2: WebSphere Application Server configuration: JNDI objects
Chapter 3: WebSphere Application Server deployment and testing of MDB
Chapter 4: Additional scenario: Topics
Chapter 5: Additional scenario: Activation Specification
See attached PDF file:

The following files are included as attachments to this techdoc:
EAR file with MDB:
Text file with code excerpt:
onMessage.txt
+++ end +++

[{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m0z00000008N4AAI","label":"Connectivity"}],"ARM Case Number":"TS016164913","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
17 May 2024

UID

ibm17153900