Class DeadLetterQueueEndpoint
java.lang.Object
com.broadleafcommerce.deadletter.web.endpoint.DeadLetterQueueEndpoint
@FrameworkRestController
@FrameworkMapping("/dead-letter-queue")
@DataRouteByKey("billing")
public class DeadLetterQueueEndpoint
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DeadLetterNotificationServiceprotected final BillingJobMessageSenderprotected final DeadLetterService<DeadLetter> -
Constructor Summary
ConstructorsConstructorDescriptionDeadLetterQueueEndpoint(DeadLetterNotificationService deadLetterNotificationService, DeadLetterService<DeadLetter> service, BillingJobMessageSender sender) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<DeadLetter>readAll(org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node node, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) sendDeadLetterQueueNotificationEmail(DeadLetterQueueNotificationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Field Details
-
deadLetterNotificationService
-
service
-
sender
-
-
Constructor Details
-
DeadLetterQueueEndpoint
public DeadLetterQueueEndpoint(DeadLetterNotificationService deadLetterNotificationService, DeadLetterService<DeadLetter> service, BillingJobMessageSender sender)
-
-
Method Details
-
sendDeadLetterQueueNotificationEmail
@Policy(permissionRoots="BILLING") @FrameworkPostMapping("/send-notification-email") public Object sendDeadLetterQueueNotificationEmail(@RequestBody DeadLetterQueueNotificationRequest request, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
readAll
@FrameworkGetMapping @Policy(permissionRoots="BILLING") public org.springframework.data.domain.Page<DeadLetter> readAll(@PageableDefault(size=50) org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node node, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
retry
-