Class QueueOptions
java.lang.Object
io.vertx.rabbitmq.QueueOptions
Aimed to specify queue consumer settings when calling
RabbitMQClient.basicConsumer(String, QueueOptions)-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanintsetAutoAck(boolean autoAck) voidsetConsumerArguments(Map<String, Object> consumerArguments) voidsetConsumerExclusive(boolean consumerExclusive) voidsetConsumerTag(String consumerTag) setMaxInternalQueueSize(int maxInternalQueueSize) voidsetNoLocal(boolean noLocal)
-
Constructor Details
-
QueueOptions
public QueueOptions() -
QueueOptions
-
-
Method Details
-
setAutoAck
- Parameters:
autoAck- true if the server should consider messages acknowledged once delivered; false if the server should expect explicit acknowledgements
-
setMaxInternalQueueSize
- Parameters:
maxInternalQueueSize- the size of internal queue
-
isAutoAck
public boolean isAutoAck()- Returns:
- true if the server should consider messages acknowledged once delivered; false if the server should expect explicit acknowledgements
-
maxInternalQueueSize
public int maxInternalQueueSize()- Returns:
- the size of internal queue
-
isNoLocal
public boolean isNoLocal() -
setNoLocal
public void setNoLocal(boolean noLocal) -
isConsumerExclusive
public boolean isConsumerExclusive() -
setConsumerExclusive
public void setConsumerExclusive(boolean consumerExclusive) -
getConsumerTag
-
setConsumerTag
-
getConsumerArguments
-
setConsumerArguments
-