Class TaxCalculationHandlerRequestDeadLetterRetryHandler<P extends DeadLetter>
java.lang.Object
com.broadleafcommerce.deadletter.service.impl.TaxCalculationHandlerRequestDeadLetterRetryHandler<P>
- Type Parameters:
P- The DeadLetter entity type
- All Implemented Interfaces:
DeadLetterRetryHandler<P>,org.springframework.core.Ordered
public class TaxCalculationHandlerRequestDeadLetterRetryHandler<P extends DeadLetter>
extends Object
implements DeadLetterRetryHandler<P>
Variant specifically designed for re-introducing a billing tax calc that previously failed for
what was determined to be an unrecoverable reason without manual intervention.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BillingProcessRequestService<BillingProcessingRequest,BillingProcessingRequestWithFullDetails> protected DeadLetterService<P>protected BillingJobMessageSenderprotected com.broadleafcommerce.common.extension.TypeFactoryFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.deadletter.service.DeadLetterRetryHandler
getOrder
-
Field Details
-
deadLetterService
-
billingProcessRequestService
@Autowired protected BillingProcessRequestService<BillingProcessingRequest,BillingProcessingRequestWithFullDetails> billingProcessRequestService -
sender
-
typeFactory
@Autowired protected com.broadleafcommerce.common.extension.TypeFactory typeFactory
-
-
Constructor Details
-
TaxCalculationHandlerRequestDeadLetterRetryHandler
public TaxCalculationHandlerRequestDeadLetterRetryHandler()
-
-
Method Details
-
canHandle
Description copied from interface:DeadLetterRetryHandlerWhether this handler is able to process the message payload type- Specified by:
canHandlein interfaceDeadLetterRetryHandler<P extends DeadLetter>
-
retry
@Transactional public P retry(P deadLetter, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:DeadLetterRetryHandlerAttempt to retry message payload from the DeadLetter.- Specified by:
retryin interfaceDeadLetterRetryHandler<P extends DeadLetter>
-