mqe_script_qm –create –qmname $CLIENT –qmpath $PATH
mqe_script_qm –load
mqe_script_condef –create –cdname $GATEWAYQM –port $PORT –address $ADDRESS
mqe_script_condef –create –cdname $MQNAME –viaqmname $GATEWAYQM
The name of the remote queue definition must match one of the bridge queues defined on the gateway. The queue manager name of the MQ queue manager must also be defined.
To use multiple bridge queues, where the bridge queue name is not the same as the real MQ queue name, aliases must be used. An application can not use a bridge queue name on the gateway as the queue name of the MQ queue because that queue does not exist on the MQ queue manager.
mqe_script_sproxyq –create –qname $BRIDGEQ$BRIDGEQNUM –destination $MQNAME –alias $REALBRIDGENAMEWhen using MQe_Script, the alias can be added at the time of creation or as an update in a later stage if the remote queue definition already exists.
mqe_script_msg –put –qname $REALBRIDGENAME –qmname $MQNAME