Native MQ Transport User Guide

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

Interoperability with WebSphere MQ

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. Tuning guidelines for WebSphere MQ are also provided.

 


Using WebSphere MQ Using JMS in ALSB

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

WebLogic Server's foreign JMS server specifies the initial context factory, connection factory, and queue to the WebSphere MQ server. For details, 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

The following sections provide an overview of 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

Because the WebSphere MQ for Java APIs do not support XA transactions, ALSB does not support XA transactions for the Native MQ transport. If XA is required, JMS transport with WebSphere MQ JMS interface should be used. For more information, see Interoperability Solutions for JMS.

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