Public Attributes | |
| Boolean | DispatchAsync |
| Should messages be dispatched synchronously or asynchronously from the producer thread for non-durable topics in the broker? For fast consumers set this to false. | |
| Boolean | Exclusive |
| I would like to be an Exclusive Consumer on the queue. | |
| Integer | MaximumPendingMessageLimit |
| For Slow Consumer Handling on non-durable topics by dropping old messages - we can set a maximum-pending limit, such that once a slow consumer backs up to this high water mark we begin to discard old messages. | |
| string | MessageSelector |
| Only messages with properties matching the message selector expression are delivered. | |
| Boolean | NoLocal |
| If true, and the destination is a topic, inhibits the delivery of messages published by its own connection. | |
| Integer | PrefetchSize |
| Specifies the maximum number of pending messages that will be dispatched to the client. | |
| Byte | Priority |
| Sets the priority of the consumer so that dispatching can be weighted in priority order. | |
| Boolean | Retroactive |
| For non-durable topics make this subscription retroactive. | |
| Boolean TOptionsConsumer::DispatchAsync |
Should messages be dispatched synchronously or asynchronously from the producer thread for non-durable topics in the broker? For fast consumers set this to false.
For slow consumers set it to true so that dispatching will not block fast consumers.
SetDispatchAsync For writing
| Boolean TOptionsConsumer::Exclusive |
I would like to be an Exclusive Consumer on the queue.
SetExclusive For writing
For Slow Consumer Handling on non-durable topics by dropping old messages - we can set a maximum-pending limit, such that once a slow consumer backs up to this high water mark we begin to discard old messages.
SetMaximumPendingMessageLimit For writing
Only messages with properties matching the message selector expression are delivered.
An empty string indicates that there is no message selector for the message consumer.
SetMessageSelector For writing
| Boolean TOptionsConsumer::NoLocal |
If true, and the destination is a topic, inhibits the delivery of messages published by its own connection.
The behavior for NoLocal is not specified if the destination is a queue.
SetNoLocal For writing
| Integer TOptionsConsumer::PrefetchSize |
Specifies the maximum number of pending messages that will be dispatched to the client.
Once this maximum is reached no more messages are dispatched until the client acknowledges a message. Set to 1 for very fair distribution of messages across consumers where processing messages can be slow.
SetPrefetchSize For writing
Sets the priority of the consumer so that dispatching can be weighted in priority order.
SetPriority For writing
| Boolean TOptionsConsumer::Retroactive |
For non-durable topics make this subscription retroactive.
SetRetroactive For writing