WebSphere Message Brokers
File: ae33330_
Writer: John Cooper

Task topic

This build: July 31, 2007 21:29:07

Running the Deploy BAR sample

Before you start:

The Deploy BAR sample is one of the Configuration Manager Proxy (CMP) samples. The CMP samples can be run as they are shipped, or they can be modified.
The source file for this sample is located in the following directory:

INST_DIR/sample/ConfigManagerProxy/cmp/DeployBar.java

Where INST_DIR is the installation directory.
The Deploy BAR sample attempts to deploy a BAR file to an execution group and display the outcome. The BAR file, execution group name, and other connection details are hard coded into the application.
Run the Deploy BAR sample. Where INST_DIR is the installation directory.
The default connection parameters used by the sample follow:
Connection parameter Description
"localhost" Host name of the Configuration Manager.
1414 Port of the Configuration Manager.
"BROKER" Queue manager name of the Configuration Manager.
"BROKER" Name of the broker.
"default" Name of the execution group.
"c://mybar.bar" BAR file name to deploy.
The CMP connects to the Configuration Manager running on machine, localhost, on port, 1414, with queue manager, BROKER. Next, the CMP attempts to deploy the file, mybar.bar, to the predefined execution group, default, on broker, BROKER.
Note: The constants that represent the default connection parameters for this sample can be modified, see Modifying the Configuration Manager Proxy samples.
Related concepts
The Configuration Manager Proxy samples
Related tasks
Deploying
Running the broker domain management sample
Running the Configuration Manager Proxy API Exerciser sample
Modifying the Configuration Manager Proxy samples
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:29:07

ae33330_ This topic's URL is: