Bridge resource

The bridge resource is responsible for holding a number of persistent property values, and a list of MQ queue manager proxy resources. If started or stopped, it can act as a single point of control to start and stop all the resources beneath it in the bridge hierarchy. Each bridge object supports the full range of create, inquire, inquire-all, update, start, stop, and delete operations. Examples of these operations can be found in the java class examples.mqbridge.administration.programming.AdminHelperBridge. The bridge resource has the following properties:
Table 1. Bridge properties
Property Explanation
Class Bridge class
Default transformer The default class, rule class, to be used to transform a message from MQe to MQ, or vice versa, if no other transformer class has been associated with the destination queue
Heartbeat interval The basic timing unit to be used for performing actions against bridges
Name Name of the bridge
Run state Status: running or stopped
Startup rule class Rule class used when the bridge is started
MQ Queue Manager Proxy Children List of all Queue Manager Proxies that are owned by this bridge

More detail of each property can be found in the Java Programming Reference, in the administration class com.ibm.mqe.mqbridge.MQeMQBridgeAdminMsg.

In simple cases a default transformer (rule) can be used to handle all message conversions. Additionally a transformer can be set on a per listener basis (for messages from MQ to MQe) that overrides this default. For more specific control the transformation rules can be set on a target queue basis using bridge queue definitions on the MQe Java™ Programming Reference. This applies both to MQe and MQ target queues.


Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.