public static class RabbitProperties.SimpleContainer extends RabbitProperties.AmqpContainer
SimpleMessageListenerContainer
.Constructor and Description |
---|
SimpleContainer() |
Modifier and Type | Method and Description |
---|---|
Integer |
getBatchSize() |
Integer |
getConcurrency() |
Integer |
getMaxConcurrency() |
Integer |
getTransactionSize()
Deprecated.
since 2.2.0 in favor of
getBatchSize() |
boolean |
isMissingQueuesFatal() |
void |
setBatchSize(Integer batchSize) |
void |
setConcurrency(Integer concurrency) |
void |
setMaxConcurrency(Integer maxConcurrency) |
void |
setMissingQueuesFatal(boolean missingQueuesFatal) |
void |
setTransactionSize(Integer transactionSize)
Deprecated.
since 2.2.0 in favor of
setBatchSize(Integer) |
getAcknowledgeMode, getDefaultRequeueRejected, getIdleEventInterval, getPrefetch, getRetry, isAutoStartup, setAcknowledgeMode, setAutoStartup, setDefaultRequeueRejected, setIdleEventInterval, setPrefetch
public Integer getConcurrency()
public void setConcurrency(Integer concurrency)
public Integer getMaxConcurrency()
public void setMaxConcurrency(Integer maxConcurrency)
@DeprecatedConfigurationProperty(replacement="spring.rabbitmq.listener.simple.batch-size") @Deprecated public Integer getTransactionSize()
getBatchSize()
@Deprecated public void setTransactionSize(Integer transactionSize)
setBatchSize(Integer)
transactionSize
- the number of messagespublic Integer getBatchSize()
public void setBatchSize(Integer batchSize)
public boolean isMissingQueuesFatal()
isMissingQueuesFatal
in class RabbitProperties.AmqpContainer
public void setMissingQueuesFatal(boolean missingQueuesFatal)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.