Class ProcessPaymentsDeadLetterRetryHandler<P extends DeadLetter>
java.lang.Object
com.broadleafcommerce.deadletter.service.impl.ProcessPaymentsDeadLetterRetryHandler<P>
- Type Parameters:
P- The DeadLetter entity type
- All Implemented Interfaces:
DeadLetterRetryHandler<P>,org.springframework.core.Ordered
public class ProcessPaymentsDeadLetterRetryHandler<P extends DeadLetter>
extends Object
implements DeadLetterRetryHandler<P>
Variant specifically designed for re-introducing a billing payment 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>Fields 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
-
service
@Autowired protected PaymentProcessingResultHandlerService<BillingProcessingRequest,PaymentTransactionDetail> service -
billingProcessRequestService
@Autowired protected BillingProcessRequestService<BillingProcessingRequest,BillingProcessingRequestWithFullDetails> billingProcessRequestService
-
-
Constructor Details
-
ProcessPaymentsDeadLetterRetryHandler
public ProcessPaymentsDeadLetterRetryHandler()
-
-
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>
-