| Name
|
N
|
The name to be displayed as the label for the activity in the process.
|
| Connection
|
Y
|
The connection resource which connects this activity with the queue manager that has access to the desired queue.
|
| Instances
|
Y
|
Enter the number of instances of the queue listener you wish this activity to run. This translates exactly the number of threads and connections to the Queue Manager created by this activity.
The default is
1 and the maximum is
64.
If the
Require Client Confirmation check box is selected below, each thread this activity runs will wait for the confirmation before getting another message from the queue. Therefore, to process messages in an absolute serial fashion, only one instance of the listener should be started. In this case, the number of messages processed becomes a function of how much latency exists in the activity prior to the confirmation.
|
| Destination
|
Y
|
The name of the queue from which the message will be retrieved.
|
| Dynamic Destination
|
N
|
A flag that enables the creation of a dynamic queue. When selected, the
Dynamic Destination Model field is enabled.
|
| Dynamic Destination Model
|
Y
|
Provide the name of the model queue after which this dynamic queue will be patterned. This field is only available if the above
Dynamic Destination check box is selected.
Note: It is recommended that static queue names (queue names that do not contain a pattern) be used for listener activities. Should a pattern be used for a Listener activity queue name, then the name generated by the queue manager is not available until the listener creates a process which makes it impossible for a sender to know the name.
|
| Message Content Type
|
N
|
Select the type of message content:
- Binary: The body of the message will be represented as a byte array to subsequent activities in the process and will be contained in the
bytes element.
- Text: The body of the message will be represented as a string to subsequent activities in the process and will be contained in the
text element. This string will be converted from the bytes in the message using the
characterSetelement in effect for this message.
-
Schema: If the message has been written using the MQMessage read/write API calls, it can be rendered here by providing a schema resource that conforms to the schema of the message.
|
| Message Body Fields
|
Y
|
If the message has been written using the MQMessage read/write API calls, use this field to map a schema conforming to the message body.
|
| Fail If Quiescing
|
N
|
Select the
Fail If Quiescing check box to prevent this listener from holding up a queue manager quiesce operation. If the queue manager does terminate, the activity attempts to reconnect indefinitely.
|
| Access Mode
|
N
|
Select the access mode for the queue:
- QDEFAULT: It accepts the access mode established when the queue was created.
- SHARED: It allows other listeners to access the queue.
- EXCLUSIVE It does not allow other listeners to access the queue. During execution, if the queue is open by another application then the activity fails.
|
| GMO Convert
|
N
|
Causes the get message option
MQGMO_CONVERT to be used for this get operation. It will cause the queue manager to convert string and numeric fields using the
characterSet and
encoding elements before the data is copied to the message buffer.
|
| Require Client Confirmation
|
N
|
Select the
Require Client Confirmation check box to request explicit confirmation of a received message.
The confirm activity can be used to confirm the message’s arrival and remove it from the queue. The Plug-in uses the queue manager's Syncpoint capability to ensure that the message is only removed from the queue if it is confirmed.
Note: The activity will wait for the confirmation before obtaining another message which imposes an absolute limit on the throughput. If serial processing of the messages is not essential, raise the Instances parameter until either the worker threads are 100% busy or the desired throughput is achieved.
If the activity fails to confirm the message, it will loop and repeatedly process the same message.
|
| Logger Name
|
Y
|
Enter the name of any pre-configured logger available to the runtime. Loggers are configured in an XML document referenced by the
Dlogback.configurationFile runtime parameter.
|