Class OrderOperationMessagingAutoConfiguration

java.lang.Object
com.broadleafcommerce.orderoperation.service.messaging.autoconfigure.OrderOperationMessagingAutoConfiguration

  • Constructor Details

    • OrderOperationMessagingAutoConfiguration

      public OrderOperationMessagingAutoConfiguration()
  • Method Details

    • checkoutCompletionListener

      @Bean @ConditionalOnMissingBean public CheckoutCompletionListener checkoutCompletionListener(com.broadleafcommerce.common.extension.TypeFactory typeFactory, CartOrderGenerationService<com.broadleafcommerce.cart.client.domain.Cart,com.broadleafcommerce.order.client.domain.Order> cartOrderGenerationService, CartOrderFulfillmentGenerationService<com.broadleafcommerce.cart.client.domain.Cart,com.broadleafcommerce.order.client.domain.Order,com.broadleafcommerce.order.client.domain.OrderFulfillment> cartOrderFulfillmentGenerationService, @Qualifier("orderOperationsResourceLockProvider") ResourceLockProvider resourceLockProvider, OrderCreatedProducer orderCreatedProducer, CartProvider cartProvider)
    • orderOpsMessageLockService

      public static OrderOpsMessageLockService orderOpsMessageLockService(ResourceLockProvider provider)
    • orderOpsIdempotentMessageConsumptionService

      public static com.broadleafcommerce.common.messaging.service.DefaultIdempotentMessageConsumptionService orderOpsIdempotentMessageConsumptionService(com.broadleafcommerce.common.messaging.service.MessageLockService messageLockService)
    • fulfillmentCapturingPaymentListener

      @Bean @ConditionalOnMissingBean public FulfillmentCapturingPaymentListener fulfillmentCapturingPaymentListener(com.broadleafcommerce.common.extension.TypeFactory typeFactory, OrderProvider<com.broadleafcommerce.order.client.domain.Order> orderProvider, PaymentCaptureService paymentCaptureService, PaymentCaptureAttemptedProducer paymentCaptureCompletionProducer, FulfillmentOperationService fulfillmentOperationService, @Qualifier("orderOperationsResourceLockProvider") ResourceLockProvider resourceLockProvider, PaymentProvider paymentProvider)
      Automatically triggers payment capture when fulfillment is put in OrderFulfillmentStatus.CAPTURING_PAYMENT status.