Application Message Queues (ttaad8625m000)

Use this session to view and maintain application message queues.

For an overview of the predefined queues provided by LN, see Predefined application message queues.

The upper part of the session window displays the properties of the selected queue. The Queue Messages tab in the lower part of the session window refers to the session where you can view the messages in the selected queue.

Field Information

Queue Name
The name of the queue.
Predefined
If selected, the queue is provided by LN and its properties are controlled by Infor.

If cleared, the queue is not controlled by Infor and its properties can be changed in this session.

Visibility Timeout [sec]
The time during which a message read by one consumer remains hidden from other consumers, ensuring that only one consumer handles it.

Allowed range: 0–43200 seconds (12 hours).

Default value: 30 seconds.

Note: This value cannot be changed for Predefined queues.
Receive Message Wait Time [sec]
Specifies how long a receive call waits for messages before returning an empty response. A value from 1 to 20 seconds activates long polling, which minimizes empty responses.

Allowed range: 0–20 seconds.

Default value: 0 seconds. This triggers short polling, where a receive call returns a response immediately, even if it is empty.

Behavior: If a message arrives before the wait time expires, the receive call returns it immediately and does not wait for the remaining time.

Note: This value cannot be changed for Predefined queues.
First Free Number
The first number assigned to a message when it enters the queue.

This field is initially hidden.

Consumed via Listener
Indicates whether a listener process consumes the queue. The listener starts automatically and checks the queue for new messages at regular intervals. When messages are available, it starts one or more worker processes to consume them. For each message, a worker calls a queue-specific callback function to perform the required actions. After the callback function successfully processes the message, the message is removed from the queue.

For queues that are not consumed by a listener, the application controls message consumption. It must check the queue regularly, perform the required action when a message arrives, and remove the message after successful processing.

Note: This field is applicable only for Predefined queues.
Single Listener
Indicates whether only one listener instance listens to the queue. This option is selected when queue messages must be processed in sequence, for example, when a message depends on a previous message.
Note: Sequential processing is based on the message keywords. Each unique keyword combination forms a group. All messages in the same group are processed in sequence, while messages in different groups can still be processed in parallel.

If Single Listener is cleared, multiple listeners can listen to the same queue, and queue messages can be consumed in parallel.

Note: This field is applicable only for Predefined queues.
Locked Until
The time until which the current single listener has exclusive access to the queue. While this timestamp is in the future, other listeners cannot access the queue. After the timestamp has passed, the same listener or another listener can acquire single-listener access.
Note: This field is initially hidden and applicable only for Single Listener queues.
Max Parallel
The maximum number of worker processes that a listener can start. Typically, low values are used for queues with less important messages and high values for queues with more important messages.

For Single Listener queues, this value is always 1.

Allowed range: 0–64.

Note: This field is applicable only for Predefined queues.
Polling Interval [sec]
The number of seconds a listener waits between checks for new messages in the queue.

Allowed range: 0–86400 seconds (24 hours).

Note: This field is applicable only for Predefined queues.
Max Startup Delay [sec]
The maximum number of seconds before a worker starts. The actual startup delay can be any value from 0 seconds to this value. Typically, low values are used for more important queues and a high values for less important queues.

Allowed range: 0–300 seconds (5 minutes).

Note: This field is applicable only for Predefined queues.