Connect MQ form - Completing the Service tab
Use the Service tab to identify the location, port, and other properties of the WebSphere MQ server. After you complete this tab and save the Connect MQ form, you can test connectivity to the MQ server.
MQ Server
Field | Description |
---|---|
MQ server name | Identify an MQ Server, an instance of the
Data-Admin-Connect-MQServer class. Pega Platform uses this information to find and log into the remote
WebSphere MQ system. This field supports the Global Resource Settings syntax
(= |
Request
Field | Description |
---|---|
Request queue manager | Optional. Enter the name of the queue manager. If you leave this field blank,
the system uses the default queue manager for the specified queue. This field
supports the Global Resource Settings syntax
(= Click the Open icon button to inspect the queue. A window appears, listing any items in the queue. Click a message position number to display detailed information about that item. |
Request queue name | Enter the name of the queue onto which the outgoing request message is to be
placed. This field supports the Global Resource Settings syntax
(= Click View Request Queue to display a list of MQ messages, add or remove a message. For an example, see the Pega Community article How to debug MQ connectors using BROWSE, PUT and GET message operations. |
Resolved queue name property | Optional. Select a Single Value property to indicate that the
queue manager is to return the local name of the request queue on which the message
was put. The value is then stored in this property. The value may differ from the
queue specified in the Request queue name field if the
specified queue is an alias, remote, or model queue. This is option
|
Resolved queue manager property | Optional. Select a Single Value property to indicate that the
queue manager is to return the local name of the queue manager of the queue on which
the message was put. The value is then stored in this property. The value may differ from the manager specified in the Request queue manager field if the queue specified in the Request queue name field is a remote queue. This is option
|
Response
Field | Description |
---|---|
Response message ID | Select how the receiving application is to determine the MessageID header value
for its response message at runtime. Select:
Click the Open icon to inspect the queue. A window appears, listing any items in the queue. Click a message position number to display detailed information about that item. |
Response correlation ID | Select how the receiving application determines the CorrelationID header value
for its message at runtime:
|
Dynamic queue | Select to specify that a dynamic local queue is to be created for the responses
to the messages sent by this connector. When this option is selected, Pega Platform obtains a dynamic local queue from the Request Queue Manager and places the identity of that dynamic queue in the Reply to queue field in the message headers of the messages sent by this connector. Responses to the messages are then posted to the dynamic queue. If you select this box, complete the Model name field and the Response tab. |
Dynamic queue close options | Pega Platform closes the dynamic queue after it retrieves
the response message from it. Select one of the following options to specify how
Pega Platform is to close the dynamic queue:
If the model specified in the Response queue model name field defines temporary rather than permanent dynamic queues, the MQCO_CLOSE option is the only valid option. In this case, if you select either MQCO_DELETE or MQCO_DELETE_PURGE, it is interpreted at runtime as MQCO_CLOSE. |
Response queue / model name | Do one of the following:
This field supports the Global Resource Settings syntax
(= Click View Response Queue to display a list of MQ messages, add a message, or remove a message. For an example, see the Pega Community article How to debug MQ connectors using BROWSE, PUT and GET message operations. |
Response queue manager | Optional. Enter the name of the queue manager. If you leave this field blank,
the system uses the default queue manager for the specified queue. This field
supports the Global Resource Settings syntax
(= |
Resolved queue name property | Optional. Select a Single Value property to indicate that the
queue manager is to return the local name of the queue from which the message was
retrieved. The value is then stored in this property. The value may be different
than the queue specified in the Response queue name field if
the specified queue an alias or model queue. |
Response message timeout | Optional. Enter the number of seconds that the activity calling the service is
to wait for a response. If Pega Platform does not receive a
response within this time interval, it reports a service failure and activity
processing continues. If you leave this field blank, the calling activity waits indefinitely for a response message. This field supports the Global Resource Settings syntax
(= |
Reports
Field | Description |
---|---|
Reports | Optional. Select these boxes to identify the WebSphere MQ report message types
that the remote application creates after it places a message on a queue. These
report messages supersede or are in addition to the standard reply message:
|
Page name | Optional. For each report you selected, enter the name of a clipboard page that Pega Platform creates to hold the data contained in the report. The class of these pages is Data-MQMessage. |
Data | For each report selected, specify the size of the data buffer for the report
message:
|
Error handling
Field | Description |
---|---|
Status value property | Optional. Select a Single Value property that the system uses
to report the status of the remote service request. The value is one of two
four-character literals: Good or Fail . You can use
the standard property @baseclass.pyStatusValue. |
Status message property | Optional. Enter the name of a Single Value property that the
system uses to provide additional information about an error that occurred when
processing the remote service request. You can use the standard property
@baseclass.pyStatusMessage. |
Error handler flow | Optional. Identify a flow rule that is to be started when this connector rule is started by a flow rule but fails. The default flow rule Work-.ConnectionProblem provides one approach for handling such problems. See Handling connector exceptions. |
Test connectivity | Optional. Click Test connectivity at any time after you
have completed the information on this tab and saved the rule form. Pega Platform attempts to connect to the MQ server identified, the queue manager, the request queue, and the response queue. The system presents test results in a separate window, identifying the parameters used in the test, the steps attempted, and the outcome of each step. It does not call the service. |
Simulations | Click to create a simulator for this connect rule. See Creating connect simulators. |