Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Configuring: Accessing Non-Local Queue Managers and Non-Local Queues
 

Classic Java CAPS

Configuring JMS Clients

Configuring Java CAPS for SSL Support

Configuring Java CAPS Business Processes

Configuring Environment Components for the Sun Business Process Manager

Configuring Sun Master Indexes (Repository)

Configuring Java CAPS Project Components for Application Adapters

Configuring Java CAPS Project Components for Communication Adapters

Configuring Java CAPS Project Components for Database Adapters

Configuring Java CAPS Project Components for Web Server Adapters

Configuring Java CAPS Environment Components for Application Adapters

Using the Environment Properties Editor

To Configure the Environment Properties

Configuring Oracle Applications Adapter Environment Properties

Outbound Oracle Applications Adapter Properties

Outbound Oracle Adapter Properties with XA support

Configuring the PeopleSoft HTTP Client Adapter Environment Properties

HTTP Settings

Proxy Configuration

Security and Authentication

Security and SSL

PeopleSoft Settings

PeopleSoft Settings and PeopleTools 8.42 Settings

PeopleSoft Settings and PeopleTools 8.13 Settings

Configuring SAP BAPI Adapter Environment Properties

Inbound SAP BAPI Adapter

Outbound SAP BAPI Adapter

Configuring the Siebel EAI Adapter Environment Properties

Siebel EAI

HTTP Settings

Proxy Configuration

Security

Additional SSL Section Notes

Adapter Environment Properties

Configuring the SWIFT Alliance Gateway Adapter Environment Properties

To Configure the SWIFT AG Adapter Environment Properties

SWIFT AG Adapter Environment Properties

Transport

Connection Pool Settings

Configuring Websphere MQ Adapter Environment Properties

Inbound MQSeries Adapter -- Inbound Adapter Environment Configuration

Outbound MQSeries Adapter (XA) -- Outbound Adapter Environment Configuration

Outbound MQSeries Adapter (XA) -- Connection Retry Settings

Outbound MQSeries Adapter (XA) -- Connection Pool Settings

Outbound MQSeries Adapter -- Outbound Adapter Environment Configuration

Outbound MQSeries Adapter -- Connection Retry Settings

Outbound MQSeries Adapter -- Connection Pool Settings

Outbound MQSeries Adapter -- Connection Establishment Mode

Accessing Non-Local Queue Managers and Non-Local Queues

Configuring Java CAPS Environment Components for Communications Adapters

Configuring Java CAPS Environment Components for Database Adapters

Configuring Java CAPS Environment Components for Web Server Adapters

Configuring JDBC/ODBC Drivers

Configuring SAP R/3 for the SAP BAPI Adapter

Configuring Secure Network Communications for SAP

Configuring Siebel EAI Workflows

Importing an SNA Custom Handshake Class

Configuring WebLogic for Asynchronous Communication

Configuring Master Index (Repository) Connectivity and Environments

Related Topics for Sun Adapter for Batch/FTP

Java EE Based Components

Broadcasting Master Index Updates to External Systems

Configuring Sun Master Indexes

Accessing Non-Local Queue Managers and Non-Local Queues

When used with alias queues and remote queues, the WebSphere MQ Adapter functions with several restrictions. Alias queues and remote queues with local queue definitions may be accessed in the same way as actual local queues, through the use of the Adapter OTD’s accessQueue(String) method. Remote queues without local queue definitions need to use the accessQueue(String, String) method instead.

Also, when alias queues or remote queues are used, the Adapter cannot proactively verify the connection (and reconnect, if necessary) before each OTD operation. This is because the Adapter verifies connections by querying queue objects, and it is not possible to query alias queues and remote queues. This means that when alias queues or remote queues are used with the Adapter, the Collaboration is responsible for recovering connection failures itself, including reestablishing the queue manager and queue connections as needed. For more information, refer to the WebSphere MQ Adapter Javadoc.

Connecting to a Remote WebSphere MQ Queue

When an Adapter connects to a local queue manager and accesses one of its queues, that queue is a local queue. When an Adapter connects to a remote queue manager and accesses one of its queues, then that queue, is also a local queue. In WebSphere MQ terms, a remote queue is a queue that is managed by a queue manager other than the one to which the application (in this case, the Adapter) is connected.

For example, say that there are two queue managers, QM1 and QM2. QM1 manages a queue (Q1) and runs on Host1. QM2 manages a queue (Q2) and runs on Host2.

Furthermore, say that need to send messages to Q2, but the Adapter may only communicate with Host1 (that is, Host2 is unreachable from the system in which the Adapter is executing). By creating the appropriate channels and a remote queue definition (R1 on QM1), messages sent to R1 can be shuttled automatically to Q2 on QM2.

For this example, the Queues and the Adapter are configured as follows:

Creating a Channel and Remote Queue Definition
  1. If either QM1 or QM2 do not have a transmission queue defined, create one. Both queue managers require one transmission queue each. In this example, assume that both queue managers have the transmission queue ’xmit’.
  2. Create a Sender Channel for QM1 that points to Host2 and transmission queue xmit. The name of the channel must match the Receiver Channel created in the next step.
  3. Create a Receiver Channel for Q2. The name of the channel must match the Sender Channel created in the previous step.
  4. In QM1, create a Remote Queue Definition (R1). Designate Q2 as its remote queue, QM2 as its remote queue manager, and xmit as its transmission queue.
  5. Configure the MQ Adapter to connect to Host1, QM1, and have it put messages into queue R1.

    Note - Messages cannot be read/GET from remote queues, only PUT. In the example situation above, to read the messages placed in QM2:Q2 through R1, an Adapter needs to connect directly to QM2 (Host2), thereby interacting with Q2 as a local queue.