Class DeadLetterMessageProcessor
java.lang.Object
com.broadleafcommerce.deadletter.service.impl.DeadLetterMessageProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<DeadLetterResolver>protected final DeadLetterService<DeadLetter> -
Constructor Summary
ConstructorsConstructorDescriptionDeadLetterMessageProcessor(List<DeadLetterResolver> deadLetterResolvers, DeadLetterService<DeadLetter> deadLetterService) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(DeadLetter deadLetter) Deprecated.voidprocess(DeadLetter deadLetter, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Attempt to correct the issue using aDeadLetterResolver.
-
Field Details
-
deadLetterResolvers
-
deadLetterService
-
-
Constructor Details
-
DeadLetterMessageProcessor
public DeadLetterMessageProcessor(List<DeadLetterResolver> deadLetterResolvers, DeadLetterService<DeadLetter> deadLetterService)
-
-
Method Details
-
process
Deprecated.Useprocess(DeadLetter, ContextInfo)insteadAttempt to correct the issue using aDeadLetterResolver. If one cannot be found to resolve the issue, then the DeadLetter is persisted to the database for manual review. -
process
public void process(DeadLetter deadLetter, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Attempt to correct the issue using aDeadLetterResolver. If one cannot be found to resolve the issue, then the DeadLetter is persisted to the database for manual review.
-
process(DeadLetter, ContextInfo)instead