|
|
Use the Listener Properties tab to configure listeners that monitor a specified queue of a WebSphere MQ server and route those messages to an MQ service. An MQ Listener instance provides access to all Service MQ rules with specified Service Package, Service Class and Service Method key parts. (The second and third key parts are optional.)
Field |
Description |
Listener Nodes |
|
Start Option |
Select to control how listeners start:
|
Node ID |
|
Host Name |
![]() based startup option is selected. Enter the network location name of the host server on which the listener is to start. |
Node Count |
Appears when the |
Reset Startup |
Deletes all the instances from the class Log-Connect-AssignedNodes, so that listeners can be started. |
Field |
Description |
Listener Properties | |
Message ID |
Optional. Enter a text value to use to filter arriving messages. Typically used only when testing an MQ service during development. If a value is specified, the listener reads only messages with the specified value (converted to bytes) in the |
Correlation ID |
Optional. Enter a If a value is specified, the listener reads only messages with the specified value (converted to bytes) in the |
Concurrent Threads |
Enter 1 or a small integer to determine the number of threads per server node that this listener requestor creates when it starts.
|
Service Package |
|
Service Class |
|
Service Method |
|
Wait Interval (seconds) |
As this PRPC server is deployed in the Web tier, the listener cannot be shut down while it is listening to the queue ("sleeping"). Use this field to specify a regular interval, in seconds, when the listener pauses ("wakes up") and determines whether a shutdown request was sent. Use the Listener Management menu item in the System Management application to start and stop listeners. If this PRPC server is deployed in the Enterprise tier of a Java EE application server, enter a value in seconds to determine how often the listener polls the application server. |
Test Connectivity |
Optional. After you complete this tab and save the data instance, click to confirm that PRPC can connect to the MQ server. The system attempts to connect to the queue manager and access the message queue. No messages are accepted. 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. (If the Blocked checkbox is selected when you click this button, testing ends with a Failed message.) |
Complete three fields to configure transacted message processing.
Transacted messaging can help ensure that a failed message is eventually processed, through repeated attempts. It requires that the MQ server have a backout queue. See the PDN article
17541 How to build an MQ Listener that supports transacted messaging for more information on this capability.
Field |
Description |
Transaction | |
Transacted Messaging |
Select to enable transacted message processing. |
Threshold |
Specify the number of times the service rule attempts to process a message after failing to process it correctly. After this number of attempts, the listener routes the message to the backout queue specified in the Backout Queue field. |
Backout Requeue |
Specify the name of the backout queue that the listener routes failed messages to when transacted message processing is enabled. This field supports the Global Resource Settings syntax (=.PageName.PropertyName). The default property name for this field is |
Complete the following fields unless the MQ service processing can be accomplished as a guest requestor, without authentication.
Field |
Description |
Requestor Login | |
Requestor UserID |
|
Password |
Enter a password for the Operator ID. |
Field |
Description |
Diagnostics |
The Remote Logging feature streams the contents of the Pega log file to the LogFactor5 application installed on your workstation. After you add your workstation as an active logger through the Logging and Tracing > Remote Logging menu item in the System Management application, your workstation receives all messages for all processes running on the server. To specify that you want to view only those log messages that are about the service rule this listener listens for, complete the fields in this section. Remember to start the LogFactor5 window on your workstation before you use this form to identify your workstation as a logger. |
Remote Host |
Optional. Enter the name of your computer. See also How to install and use remote logging |
Port |
Optional. Enter the TCP/IP port number that the log4j package on your computer listens on. By default this port is 8887. |
Field |
Description |
Startup Status | |
Blocked |
Select to prevent this listener from being started by any means. If cleared, the listener starts with system startup, or can be started using the System Management application. See More about MQ Listeners. |