Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Integration → QueueOpReadMessageTimeout

AI-generated

Summary

Read messages from a specified integration queue within a given timeout period, optionally limiting the number of messages and targeting a specific subject.

Inputs

  • queueCode — The identifier code of the queue to read messages from.
  • timeoutS — The timeout in seconds to wait for messages to be available in the queue before timing out.
  • maxMessages — Maximum number of messages to read from the queue (provided in the body JSON).
  • subject — A subject filter to select messages related to this subject (provided in the body JSON).

Output shape

a list of messages retrieved from the specified queue, each as a JSON object

The operation returns multiple messages matching the criteria; if no messages are available before the timeout, the result may be empty. The output items are paired with the input item index.

Discussion