If you apply an inquireAll operation to a queue manager,
a bridge-capable property is returned. This field is boolean.
A true value indicates that the classes required to support the bridge function
are present on the class path. A false value indicates that required classes
are missing from the class path.
- If the queue manager is reporting that it is bridge-capable, bridge resources
can be configured and manipulated on that queue manager.
- If the queue manager reports that it is not bridge-capable, any attempt
to administer bridge resources will fail. Such situations are often indicative
that the required MQ Java™ classes, or parts of the MQ bridge
software are not available on the classpath.
Changing the classpath to reference
the MQ Java and MQ bridge classes, and restarting the JVM
in which the MQe queue manager is running should result in the queue manager
reporting that it is bridge-capable. The code in examples.mbridge.administration.commandline.IsQueueManagerBridgeCapable
provides an example of how to code this query.