# Read messages

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-16fe17ef234f0a75f66653bd0d591d691075f801%2Fimage%20\(16\).png?alt=media)

Element that read messages from ActiveMQ server queue.

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-bd74f34a21c8a7d58f36d3423bfaaf12e2608a7a%2Fqueues_read_message.png?alt=media)

Properties

\- Server address\*: \[String] ActiveMQ server address (tcp\://myserver:61616/)

\- Login: \[String] Login

\- Password: \[String] Password

\- Destination type\*: destination type (queue, topic)

\- Topic/queue\*: \[String] Topic/queue name

\- Message array: \[System.Collections.Generic.List\<LTools.Network.MQ.AMQMessage>] Array of received messages

\- Wait for message: \[Boolean] Flag for waiting for a new message in queue

\- Time-out\*: \[Int32] Max process await timeout (ms)

\- GroupID: \[String] Group ID

LTools.Network.MQ.KafkaMessage - Properties:

\- Text: \[String] Message text (if type eq. TEXT)

\- Timestamp: \[DateTime] Message date and time
