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 boolean
boolean
The 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.int
hashCode()
void
setConsumerBinding
(String consumerBinding) The consumer binding from which to poll for candidate retryable messages.void
setOriginalProducerBinding
(String originalProducerBinding) The producer binding used to send the message back to the original channel to re-attempt processing.void
setProducerBinding
(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:
equals
in classFixedRetryInfo
-
canEqual
- Overrides:
canEqual
in classFixedRetryInfo
-
hashCode
public int hashCode()- Overrides:
hashCode
in 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:
toString
in classFixedRetryInfo
-