Field Summary |
static short[] |
version
|
Method Summary |
void |
activate(java.lang.String[] args)
Does all the work. |
protected void |
createMQConnection(java.lang.String bridgeName,
java.lang.String proxyName,
java.lang.String connectionName,
int port,
java.lang.String syncQName,
java.lang.String targetQMgr,
MQeQueueManager myQMgr)
Creates an admin message which will create an WMQ connection on the bridge, and sends it
to a named queue manager. |
static void |
main(java.lang.String[] args)
Entry point from the command line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
version
public static short[] version
MQConnectionCreator
public MQConnectionCreator()
main
public static void main(java.lang.String[] args)
- Entry point from the command line.
activate
public void activate(java.lang.String[] args)
throws java.lang.Exception
- Does all the work.
- Parameters:
args
-
- Returns:
- void
- Throws:
java.lang.Exception
createMQConnection
protected void createMQConnection(java.lang.String bridgeName,
java.lang.String proxyName,
java.lang.String connectionName,
int port,
java.lang.String syncQName,
java.lang.String targetQMgr,
MQeQueueManager myQMgr)
throws java.lang.Exception
- Creates an admin message which will create an WMQ connection on the bridge, and sends it
to a named queue manager.
- Parameters:
bridgeName
- The name of the bridge for which an WMQ connection will be created.proxyName
- The name of the WMQ queue manager proxy for which connection will be created.
ie: The future parent object of the WMQ client connection.connectionName
- The name of the WMQ client connection which will be created.
It should match the name of an WMQ server connection channel.port
- The port on which the WMQ system is listening on for in-coming client connections.syncQName
- The name of the sync queue used by WMQe. This is a local queue which must exist
on the WMQ queue manager (whose name is given by the "proxyname" parameter above)
It must be a local queue, persistent, and read-writable.targetQMgr
- The queue manager on which the new WMQ connection will be created.myQMgr
- A reference to an active WMQe queue manager.
The queue manager will be used to send and receive WMQe administration messages and responses.
- Returns:
- void
- Throws:
java.lang.Exception