Class PulsarProperties.Consumer.DeadLetterPolicy
java.lang.Object
org.springframework.boot.pulsar.autoconfigure.PulsarProperties.Consumer.DeadLetterPolicy
- Enclosing class:
PulsarProperties.Consumer
- Since:
- 4.0.0
- Author:
- Chris Bono, Phillip Webb, Swamy Mavuri, Vedran Pavic
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable Stringint@Nullable StringvoidsetDeadLetterTopic(@Nullable String deadLetterTopic) voidsetInitialSubscriptionName(@Nullable String initialSubscriptionName) voidsetMaxRedeliverCount(int maxRedeliverCount) voidsetRetryLetterTopic(@Nullable String retryLetterTopic)
-
Constructor Details
-
DeadLetterPolicy
public DeadLetterPolicy()
-
-
Method Details
-
getMaxRedeliverCount
public int getMaxRedeliverCount() -
setMaxRedeliverCount
public void setMaxRedeliverCount(int maxRedeliverCount) -
getRetryLetterTopic
-
setRetryLetterTopic
-
getDeadLetterTopic
-
setDeadLetterTopic
-
getInitialSubscriptionName
-
setInitialSubscriptionName
-