MQ Transport User Guide

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Using the WebSphere JMS MQ Interface

The WebSphere MQ for Java APIs do not support XA transactions. Consequently, ALSB does not support XA transactions for the MQ transport. If XA is required, you can use the WebSphere MQ JMS interface.

The following sections outline how ALSB connects to WebSphere MQ and presents an overview of some message types used in communication between WebSphere MQ and ALSB.

 


Using the WebSphere MQ JMS Interface

ALSB connects to WebSphere MQ via the WebSphere MQ JMS interface. That is, ALSB is a WebSphere MQ JMS client.

The foreign JMS server in WLS specifies the initial context factory, connection factory, and queue to the WebSphere MQ server. For more information, see Configuring Foreign Server Resources to Access Third-Party JMS Providers in Configuring and Managing WebLogic JMS.

WebSphere MQ JMS supports two transport types:

If the WebSphere MQ JMS client is running on the same physical machine as the queue manager, it is possible to set the transport type to BINDINGS. Otherwise, you can use only the CLIENT type.

WebSphere MQ can interface with ALSB in two ways:

ALSB is configured in the ALSB Console, which is described in Using the AquaLogic Service Bus Console.

 


Messaging Types

ALSB supports the following messaging types:

Non-Persistent Messaging

If you decide to accept an unreliable delivery, such as some missing requests, you can use non-persistent messages where appropriate. WebSphere MQ logging and WebLogic JMS message persistence are only performed for persistent messages; therefore, the use of non-persistent messages eliminates any related I/O activity.

Note: Non-persistent message throughput is usually limited by the processor speed of the machine. However, in case of a shortage of physical memory, the server system may consume CPU cycles on a paging I/O.

Non-XA Persistent Messaging

WebSphere MQ persistent message throughput is usually limited by the queue manager and the I/O latency writing to the log.

XA Messaging

To enable support for transactional (XA) access to queues, use:

Tip: For the deployment descriptors to be set appropriately for XA capable resources (JMS, TUXEDO, EJB), you must set the XA attribute on the referenced connection factory before creating a proxy service.

 


Tuning WebSphere MQ

The following guidelines help you tune WebSphere MQ when you are working with ALSB. For detailed WebSphere MQ information, refer to relevant WebSphere MQ documentation.


  Back to Top       Previous  Next