public class MessagingCapabilities extends Object
| Constructor and Description |
|---|
MessagingCapabilities(boolean messageCount,
boolean send,
boolean receive,
boolean peek,
boolean peekBatch,
boolean renewLock,
boolean abandon,
boolean deadLetter,
boolean clear)
Creates a new instance of the capabilities object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAbandon()
Informs if the queue is able to abandon messages.
|
boolean |
canClear()
Informs if the queue can be cleared.
|
boolean |
canDeadLetter()
Informs if the queue is able to send messages to dead letter queue.
|
boolean |
canMessageCount()
Informs if the queue is able to read number of messages.
|
boolean |
canPeek()
Informs if the queue is able to peek messages.
|
boolean |
canPeekBatch()
Informs if the queue is able to peek multiple messages in one batch.
|
boolean |
canReceive()
Informs if the queue is able to receive messages.
|
boolean |
canRenewLock()
Informs if the queue is able to renew message lock.
|
boolean |
canSend()
Informs if the queue is able to send messages.
|
public MessagingCapabilities(boolean messageCount,
boolean send,
boolean receive,
boolean peek,
boolean peekBatch,
boolean renewLock,
boolean abandon,
boolean deadLetter,
boolean clear)
messageCount - true if queue supports reading message count.send - true if queue is able to send messages.receive - true if queue is able to receive messages.peek - true if queue is able to peek messages.peekBatch - true if queue is able to peek multiple messages in one
batch.renewLock - true if queue is able to renew message lock.abandon - true if queue is able to abandon messages.deadLetter - true if queue is able to send messages to dead letter
queue.clear - true if queue can be cleared.public boolean canMessageCount()
public boolean canSend()
public boolean canReceive()
public boolean canPeek()
public boolean canPeekBatch()
public boolean canRenewLock()
public boolean canAbandon()
public boolean canDeadLetter()
public boolean canClear()
Copyright © 2018. All rights reserved.