Class OrderOperationMessagingAutoConfiguration
java.lang.Object
com.broadleafcommerce.orderoperation.service.messaging.autoconfigure.OrderOperationMessagingAutoConfiguration
@Configuration
@ConditionalOnPropertyOrGroup(name="broadleaf.orderoperation.messaging.active",
group="broadleaf.basic.messaging.enabled",
matchIfMissing=true)
@EnableBinding({OrderCheckoutCompletionConsumer.class,OrderCreatedProducer.class,VoucherGenerationCompletionProducer.class,FulfillmentFulfillingProducer.class,FulfillmentFulfillFailedProducer.class,FulfillmentFulfilledProducer.class,FulfillmentCancelledProducer.class,FulfillmentCapturingPaymentProducer.class,FulfillmentCapturingPaymentConsumer.class,ReturnCreatedProducer.class,ReturnConfirmedProducer.class,ReturnCancelledProducer.class,PaymentCaptureAttemptedProducer.class})
@EnableConfigurationProperties(FulfillmentProcessingProperties.class)
public class OrderOperationMessagingAutoConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheckoutCompletionListener
(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, ResourceLockProvider resourceLockProvider, OrderCreatedProducer orderCreatedProducer, CartProvider cartProvider) fulfillmentCapturingPaymentListener
(com.broadleafcommerce.common.extension.TypeFactory typeFactory, OrderProvider<com.broadleafcommerce.order.client.domain.Order> orderProvider, PaymentCaptureService paymentCaptureService, PaymentCaptureAttemptedProducer paymentCaptureCompletionProducer, FulfillmentOperationService fulfillmentOperationService, ResourceLockProvider resourceLockProvider, PaymentProvider paymentProvider) Automatically triggers payment capture when fulfillment is put inOrderFulfillmentStatus.CAPTURING_PAYMENT
status.static com.broadleafcommerce.common.messaging.service.DefaultIdempotentMessageConsumptionService
orderOpsIdempotentMessageConsumptionService
(com.broadleafcommerce.common.messaging.service.MessageLockService messageLockService) static OrderOpsMessageLockService
-
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
-
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 inOrderFulfillmentStatus.CAPTURING_PAYMENT
status.
-