Class NonBlockingFixedRetryInfo
java.lang.Object
com.broadleafcommerce.common.messaging.retry.FixedRetryInfo
com.broadleafcommerce.common.messaging.retry.nonblocking.NonBlockingFixedRetryInfo
Retry configuration for the non-blocking case
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe consumer binding from which to poll for candidate retryable messages.The producer binding used to send the message back to the original channel to re-attempt processing.The producer binding used to send a message to park in the retry queue defined here.inthashCode()voidsetConsumerBinding(String consumerBinding) The consumer binding from which to poll for candidate retryable messages.voidsetOriginalProducerBinding(String originalProducerBinding) The producer binding used to send the message back to the original channel to re-attempt processing.voidsetProducerBinding(String producerBinding) The producer binding used to send a message to park in the retry queue defined here.toString()Methods inherited from class com.broadleafcommerce.common.messaging.retry.FixedRetryInfo
getBackOff, getDlq, getExclude, getInclude, getMaxAttempts, setBackOff, setDlq, setExclude, setInclude, setMaxAttempts
-
Constructor Details
-
NonBlockingFixedRetryInfo
public NonBlockingFixedRetryInfo()
-
-
Method Details
-
equals
- Overrides:
equalsin classFixedRetryInfo
-
canEqual
- Overrides:
canEqualin classFixedRetryInfo
-
hashCode
public int hashCode()- Overrides:
hashCodein classFixedRetryInfo
-
getConsumerBinding
The consumer binding from which to poll for candidate retryable messages. This is the binding name alone (not the fully qualified property). For example, for a fully qualified binding propertyspring.cloud.stream.bindings.retryInput1, the consumerBinding value assigned here will beretryInput1. You may define your own binding configuration at this name in your property files, in which case the system will use what you have defined there. However, in the absence of pre-defined configuration at this binding name, the system will auto create a consumer binding that is suitable for most non-blocking retry use cases. -
getProducerBinding
The producer binding used to send a message to park in the retry queue defined here. This is the binding name alone (not the fully qualified property). For example, for a fully qualified binding propertyspring.cloud.stream.bindings.retryOutput1, the producerBinding value assigned here will beretryOutput1. You may define your own binding configuration at this name in your property files, in which case the system will use what you have defined there. However, in the absence of pre-defined configuration at this binding name, the system will auto create a producer binding that is suitable for most non-blocking retry use cases. -
getOriginalProducerBinding
The producer binding used to send the message back to the original channel to re-attempt processing. -
setConsumerBinding
The consumer binding from which to poll for candidate retryable messages. This is the binding name alone (not the fully qualified property). For example, for a fully qualified binding propertyspring.cloud.stream.bindings.retryInput1, the consumerBinding value assigned here will beretryInput1. You may define your own binding configuration at this name in your property files, in which case the system will use what you have defined there. However, in the absence of pre-defined configuration at this binding name, the system will auto create a consumer binding that is suitable for most non-blocking retry use cases. -
setProducerBinding
The producer binding used to send a message to park in the retry queue defined here. This is the binding name alone (not the fully qualified property). For example, for a fully qualified binding propertyspring.cloud.stream.bindings.retryOutput1, the producerBinding value assigned here will beretryOutput1. You may define your own binding configuration at this name in your property files, in which case the system will use what you have defined there. However, in the absence of pre-defined configuration at this binding name, the system will auto create a producer binding that is suitable for most non-blocking retry use cases. -
setOriginalProducerBinding
The producer binding used to send the message back to the original channel to re-attempt processing. -
toString
- Overrides:
toStringin classFixedRetryInfo
-