Configuring a bridge using WebSphere MQ Everyplace administration messages and WebSphere MQ PCF messages

PCF messages are administration messages used by WebSphere MQ queue managers. A supportpac "MS0B: MQSeries Java classes for PCF' supportpac" contains java code, which supplies PCF message support. This code is available as a free download from the WebSphere MQ download site at http://www.ibm.com/software/ts/mqseries/txppacs.

If you download and install it, and put the com.ibm.mq.pcf.jar file on your ClassPath environment variable, you have access to java classes, which can dynamically manipulate WebSphere MQ resources. When PCF messages are combined with WebSphere MQ Everyplace administration messages, complete programmatic configuration of bridge resources, and corresponding resources on a WebSphere MQ Everyplace queue manager are possible. Example code contained in the examples.mqbridge.administration.programming.AdminHelperMQ class, used in conjunction with the examples.mqbridge.administration.programming.MQAgent demonstrate how to do this. This example code has been added to the examples.awt.AwtMQeServer program, such that using the view -> "Connect local MQ default queue manager" menu item will:



© IBM Corporation 2002, 2003. All Rights Reserved