public class RabbitConsumerProperties extends RabbitCommonProperties
RabbitCommonProperties.QuorumConfigDEAD_LETTER_EXCHANGE| Constructor and Description |
|---|
RabbitConsumerProperties() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.amqp.core.AcknowledgeMode |
getAcknowledgeMode() |
String |
getAnonymousGroupPrefix() |
@Min(value=1L,message="Batch Size should be greater than zero.") int |
getBatchSize() |
String |
getConsumerTagPrefix() |
org.springframework.boot.autoconfigure.amqp.RabbitProperties.ContainerType |
getContainerType() |
Long |
getFailedDeclarationRetryInterval() |
int |
getFrameMaxHeadroom() |
String[] |
getHeaderPatterns() |
@Min(value=1L,message="Max Concurrency should be greater than zero.") int |
getMaxConcurrency() |
boolean |
getMissingQueuesFatal() |
@Min(value=1L,message="Prefetch should be greater than zero.") int |
getPrefetch() |
Integer |
getQueueDeclarationRetries() |
long |
getRecoveryInterval() |
org.springframework.amqp.core.MessageDeliveryMode |
getRepublishDeliveyMode() |
String[] |
getRequestHeaderPatterns()
Deprecated.
- use
getHeaderPatterns(). |
@Min(value=1L,message="Tx Size should be greater than zero.") int |
getTxSize()
Deprecated.
in favor of
getBatchSize() |
boolean |
isDurableSubscription() |
boolean |
isExclusive() |
boolean |
isRepublishToDlq() |
boolean |
isRequeueRejected() |
boolean |
isTransacted() |
void |
setAcknowledgeMode(org.springframework.amqp.core.AcknowledgeMode acknowledgeMode) |
void |
setAnonymousGroupPrefix(String anonymousGroupPrefix) |
void |
setBatchSize(int batchSize) |
void |
setConsumerTagPrefix(String consumerTagPrefix) |
void |
setContainerType(org.springframework.boot.autoconfigure.amqp.RabbitProperties.ContainerType containerType) |
void |
setDurableSubscription(boolean durableSubscription) |
void |
setExclusive(boolean exclusive) |
void |
setFailedDeclarationRetryInterval(Long failedDeclarationRetryInterval) |
void |
setFrameMaxHeadroom(int frameMaxHeadroom) |
void |
setHeaderPatterns(String[] replyHeaderPatterns) |
void |
setMaxConcurrency(int maxConcurrency) |
void |
setMissingQueuesFatal(boolean missingQueuesFatal) |
void |
setPrefetch(int prefetch) |
void |
setQueueDeclarationRetries(Integer queueDeclarationRetries) |
void |
setRecoveryInterval(long recoveryInterval) |
void |
setRepublishDeliveyMode(org.springframework.amqp.core.MessageDeliveryMode republishDeliveyMode) |
void |
setRepublishToDlq(boolean republishToDlq) |
void |
setRequestHeaderPatterns(String[] requestHeaderPatterns)
Deprecated.
- use
setHeaderPatterns(String[]). |
void |
setRequeueRejected(boolean requeueRejected) |
void |
setTransacted(boolean transacted) |
void |
setTxSize(int txSize)
deprecated in favor of
setBatchSize(int). |
getBindingRoutingKey, getBindingRoutingKeyDelimiter, getDeadLetterExchange, getDeadLetterExchangeType, getDeadLetterQueueName, getDeadLetterRoutingKey, getDlqBindingArguments, getDlqDeadLetterExchange, getDlqDeadLetterRoutingKey, getDlqExpires, getDlqMaxLength, getDlqMaxLengthBytes, getDlqMaxPriority, getDlqOverflowBehavior, getDlqQuorum, getDlqTtl, getExchangeType, getExpires, getMaxLength, getMaxLengthBytes, getMaxPriority, getOverflowBehavior, getPrefix, getQueueBindingArguments, getQuorum, getTtl, isAutoBindDlq, isBindQueue, isDeclareDlx, isDeclareExchange, isDelayedExchange, isDlqLazy, isDlqSingleActiveConsumer, isExchangeAutoDelete, isExchangeDurable, isLazy, isQueueNameGroupOnly, isSingleActiveConsumer, setAutoBindDlq, setBindingRoutingKey, setBindingRoutingKeyDelimiter, setBindQueue, setDeadLetterExchange, setDeadLetterExchangeType, setDeadLetterQueueName, setDeadLetterRoutingKey, setDeclareDlx, setDeclareExchange, setDelayedExchange, setDlqBindingArguments, setDlqDeadLetterExchange, setDlqDeadLetterRoutingKey, setDlqExpires, setDlqLazy, setDlqMaxLength, setDlqMaxLengthBytes, setDlqMaxPriority, setDlqOverflowBehavior, setDlqQuorum, setDlqSingleActiveConsumer, setDlqTtl, setExchangeAutoDelete, setExchangeDurable, setExchangeType, setExpires, setLazy, setMaxLength, setMaxLengthBytes, setMaxPriority, setOverflowBehavior, setPrefix, setQueueBindingArguments, setQueueNameGroupOnly, setQuorum, setSingleActiveConsumer, setTtlpublic boolean isTransacted()
public void setTransacted(boolean transacted)
public org.springframework.amqp.core.AcknowledgeMode getAcknowledgeMode()
public void setAcknowledgeMode(org.springframework.amqp.core.AcknowledgeMode acknowledgeMode)
@Min(value=1L,
message="Max Concurrency should be greater than zero.")
public @Min(value=1L,message="Max Concurrency should be greater than zero.") int getMaxConcurrency()
public void setMaxConcurrency(int maxConcurrency)
@Min(value=1L,
message="Prefetch should be greater than zero.")
public @Min(value=1L,message="Prefetch should be greater than zero.") int getPrefetch()
public void setPrefetch(int prefetch)
@Deprecated public String[] getRequestHeaderPatterns()
getHeaderPatterns().@Deprecated public void setRequestHeaderPatterns(String[] requestHeaderPatterns)
setHeaderPatterns(String[]).requestHeaderPatterns - request header patterns@Deprecated @Min(value=1L, message="Tx Size should be greater than zero.") public @Min(value=1L,message="Tx Size should be greater than zero.") int getTxSize()
getBatchSize()public void setTxSize(int txSize)
setBatchSize(int).txSize - the tx size@Min(value=1L,
message="Batch Size should be greater than zero.")
public @Min(value=1L,message="Batch Size should be greater than zero.") int getBatchSize()
public void setBatchSize(int batchSize)
public boolean isDurableSubscription()
public void setDurableSubscription(boolean durableSubscription)
public boolean isRepublishToDlq()
public void setRepublishToDlq(boolean republishToDlq)
public boolean isRequeueRejected()
public org.springframework.amqp.core.MessageDeliveryMode getRepublishDeliveyMode()
public void setRepublishDeliveyMode(org.springframework.amqp.core.MessageDeliveryMode republishDeliveyMode)
public void setRequeueRejected(boolean requeueRejected)
public String[] getHeaderPatterns()
public void setHeaderPatterns(String[] replyHeaderPatterns)
public long getRecoveryInterval()
public void setRecoveryInterval(long recoveryInterval)
public boolean isExclusive()
public void setExclusive(boolean exclusive)
public boolean getMissingQueuesFatal()
public void setMissingQueuesFatal(boolean missingQueuesFatal)
public Integer getQueueDeclarationRetries()
public void setQueueDeclarationRetries(Integer queueDeclarationRetries)
public Long getFailedDeclarationRetryInterval()
public void setFailedDeclarationRetryInterval(Long failedDeclarationRetryInterval)
public String getConsumerTagPrefix()
public void setConsumerTagPrefix(String consumerTagPrefix)
public int getFrameMaxHeadroom()
public void setFrameMaxHeadroom(int frameMaxHeadroom)
public org.springframework.boot.autoconfigure.amqp.RabbitProperties.ContainerType getContainerType()
public void setContainerType(org.springframework.boot.autoconfigure.amqp.RabbitProperties.ContainerType containerType)
public String getAnonymousGroupPrefix()
public void setAnonymousGroupPrefix(String anonymousGroupPrefix)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.