Description
The MessagingCapabilities class allows you to create data objects that contain supported capabilities of message queues.
Important points
- If certain capability is not supported, a queue will throw a NotImplemented exception.
Constructors
Creates a new instance of the capabilities object.
publicMessagingCapabilities(bool canMessageCount, bool canSend, bool canReceive, bool canPeek, bool canPeekBatch, bool canRenewLock, bool canAbandon, bool canDeadLetter, bool canClear)
- canMessageCount: bool - true if the queue supports reading message count.
- canSend: bool - true if the queue is able to send messages.
- canReceive: bool - true if the queue is able to receive messages.
- canPeek: bool - true if the queue is able to peek messages.
- canPeekBatch: bool - true if the queue is able to peek multiple messages in one batch.
- canRenewLock: bool - true if the queue is able to renew message lock.
- canAbandon: bool - true if the queue is able to abandon messages.
- canDeadLetter: bool - true if the queue is able to send messages to the dead letter queue.
- canClear: bool - true if the queue can be cleared.
Properties
CanAbandon
Informs if the queue is able to abandon messages.
publicbool CanAbandon [ get, private set ]
CanClear
Informs if the queue can be cleared.
publicbool CanClear [ get, private set ]
CanDeadLetter
Informs if the queue is able to send messages to the dead letter queue.
publicbool CanDeadLetter [ get, private set ]
CanMessageCount
Informs if the queue is able to read the number of messages.
publicget canMessageCount(): bool
CanMessageCount
Informs if the queue is able to peek messages.
publicbool CanMessageCount [ get, private set ]
CanPeekBatch
Informs if the queue is able to peek multiple messages in one batch.
publicbool CanPeekBatch [ get, private set ]
CanReceive
Informs if the queue is able to receive messages.
publicbool CanReceive [ get, private set ]
CanRenewLock
Informs if the queue is able to renew message lock.
publicbool CanRenewLock [ get, private set ]
CanSend
Informs if the queue is able to send messages.
publicbool CanSend [ get, private set ]