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 TypeMethodDescriptionintvoidsetDeadLetterTopic(@Nullable String deadLetterTopic) voidsetInitialSubscriptionName(@Nullable String initialSubscriptionName) voidsetMaxRedeliverCount(int maxRedeliverCount) voidsetRetryLetterTopic(@Nullable String retryLetterTopic)
-
Constructor Details
-
DeadLetterPolicy
public DeadLetterPolicy()
-
-
Method Details
-
getMaxRedeliverCount
@DeprecatedConfigurationProperty(since="4.2.", reason="module deprecated in favor of pulsar-spring") public int getMaxRedeliverCount() -
setMaxRedeliverCount
public void setMaxRedeliverCount(int maxRedeliverCount) -
getRetryLetterTopic
@DeprecatedConfigurationProperty(since="4.2.", reason="module deprecated in favor of pulsar-spring") public @Nullable String getRetryLetterTopic() -
setRetryLetterTopic
-
getDeadLetterTopic
@DeprecatedConfigurationProperty(since="4.2.", reason="module deprecated in favor of pulsar-spring") public @Nullable String getDeadLetterTopic() -
setDeadLetterTopic
-
getInitialSubscriptionName
@DeprecatedConfigurationProperty(since="4.2.", reason="module deprecated in favor of pulsar-spring") public @Nullable String getInitialSubscriptionName() -
setInitialSubscriptionName
-