|
Constructor where the MQSeries Everyplace queue manager name, the name of the bridge, the name of the proxy, the name of the client connection, and the name of the listener are passed. - Parameters:
-
pErrStruct |
[in/out] Pointer to a pre-allocated MQeExceptBlock structure |
phMsgObj |
[out] Pointer to handle for output |
bridge |
[in] A String. The name of the bridge to which this administration message is to be sent. If null, or "", it is not set in the administration message. |
mqQMgrProxy |
[in] A String. The name of the MQSeries queue manager that owns the transmission queue the listener is set up to read from. If null, or "", it is not set in the administration message. |
clientConnection |
[in] A String. The name of the MQSeries client connection that is use to talk to the MQSeries queue manager. If null, or "", it is not set in the administration message. |
listener |
[in] A String. The name of the listener. This matches the name of the transmission queue on MQSeries to which the listener "listens", waiting for messages to be ready to move to the MQSeries Everyplace network. If null, or "", it is not set in the administration message. |
affectChildren |
[in] A boolean. This is used to indicate whether this administration message affects the children of the listener. There are currently no child objects to a listener, so this parameter is here for consistency with other MQSeries-bridge administration classes. The value is ignored. |
- Precondition:
-
pErrStruct points to a pre-allocated MQeExceptBlock structure (no error information is returned if pErrStruct is null).
- Return values:
-
MQERETURN_OK |
Completed Successfully |
- Warning:
-
Users are expected to use mqeListenerAdminMsg_free() to free the object returned by this call when it is no longer needed. This enables reuse of system resources and can help to avoid system problems caused by shortage of resources.
|