Table Of Contents

Read

Last Modified: April 3, 2020

Returns a message from the queue.

To read a message, you must subscribe to the topic the message is published to. If you do not subscribe to the topic, you cannot receive the message.

If there are no queued messages, the call synchronously blocks up to the timeout specified or to the maximum timeout the web service defines, whichever is smaller. Both the SystemLink Server and the SystemLink Cloud server timeout after 10 seconds.

sync message session in

Synchronous message session created with the server. As a result, this VI does not apply to sessions created by Open (AMQP Async). If your message session is asynchronous, wire sync message session in to an event registration refnum on Flush Event Queue instead.

timeout milliseconds

Time, in milliseconds, that this VI waits for an enqueued message before timing out.

The default is 100.

error in

Error conditions that occur before this VI runs. The VI responds to this input according to standard error behavior.

sync message session out

Synchronous message session created with the server.

topic

Channel to which endpoints publish or subscribe messages.

message

Content published for subscribers of a topic to read.

error out

Error information. This VI produces this output according to standard error behavior.

dequeue status

Information about the current state of the VI. If True, the VI received an incoming message. If False, the VI timed out.


Recently Viewed Topics