Class CartServiceNotificationAutoConfiguration

java.lang.Object
com.broadleafcommerce.cart.service.messaging.autoconfigure.CartServiceNotificationAutoConfiguration

@Configuration @EnableBinding({CheckoutRollbackEventProducer.class,com.broadleafcommerce.common.messaging.checkout.CheckoutCompletionProducer.class,CartRejectionProducer.class,CartPendingPaymentFailedProducer.class,CartAwaitingPaymentResultsProducer.class,CartApprovalRequestProducer.class}) @EnableConfigurationProperties(CartNotificationProperties.class) public class CartServiceNotificationAutoConfiguration extends Object
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • CartServiceNotificationAutoConfiguration

      public CartServiceNotificationAutoConfiguration()
  • Method Details

    • cartNotificationRepository

      @Bean @ConditionalOnMissingBean(name="cartNotificationRepository") public CartNotificationRepository cartNotificationRepository()
    • cartNotificationService

      @Bean @ConditionalOnMissingBean(name="cartNotificationService") public CartNotificationService cartNotificationService(CartRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, CartNotificationRepository cartNotificationRepository, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • checkoutRollbackNotificationHandler

      @Bean @ConditionalOnMissingBean(name="checkoutRollbackNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler checkoutRollbackNotificationHandler(CheckoutRollbackEventProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper)
    • checkoutRollbackRetryClusterService

      @Bean @ConditionalOnMissingBean(name="checkoutRollbackRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService checkoutRollbackRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, @Nullable List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, @Qualifier("checkoutRollbackNotificationHandler") com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference) throws Exception
      Throws:
      Exception
    • checkoutCompletionNotificationHandler

      @Bean @ConditionalOnMissingBean(name="checkoutCompletionNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler checkoutCompletionNotificationHandler(com.broadleafcommerce.common.messaging.checkout.CheckoutCompletionProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper)
    • checkoutCompletionRetryClusterService

      @Bean @ConditionalOnMissingBean(name="checkoutCompletionRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService checkoutCompletionRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, @Nullable List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, @Qualifier("checkoutCompletionNotificationHandler") com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference) throws Exception
      Throws:
      Exception
    • cartPendingPaymentFailedNotificationHandler

      @Bean @ConditionalOnMissingBean(name="cartPendingPaymentFailedNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler cartPendingPaymentFailedNotificationHandler(CartPendingPaymentFailedProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper)
    • cartAwaitingPaymentResultsNotificationHandler

      @Bean @ConditionalOnMissingBean(name="cartAwaitingPaymentResultsNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler cartAwaitingPaymentResultsNotificationHandler(CartAwaitingPaymentResultsProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper)
    • cartPendingPaymentFailedRetryClusterService

      @Bean @ConditionalOnMissingBean(name="cartPendingPaymentFailedRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService cartPendingPaymentFailedRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, @Nullable List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, @Qualifier("cartPendingPaymentFailedNotificationHandler") com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference) throws Exception
      Throws:
      Exception
    • cartRejectionNotificationHandler

      @Bean @ConditionalOnMissingBean(name="cartRejectionNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler cartRejectionNotificationHandler(CartRejectionProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper)
    • cartRejectionRetryClusterService

      @Bean @ConditionalOnMissingBean(name="cartRejectionRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService cartRejectionRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, @Nullable List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, @Qualifier("cartRejectionNotificationHandler") com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference) throws Exception
      Throws:
      Exception
    • cartApprovalRequestNotificationHandler

      @Bean @ConditionalOnMissingBean(name="cartApprovalRequestNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler cartApprovalRequestNotificationHandler(CartApprovalRequestProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper)
    • cartApprovalRequestRetryClusterService

      @Bean @ConditionalOnMissingBean(name="cartApprovalRequestRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService cartApprovalRequestRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, @Nullable List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, @Qualifier("cartRejectionNotificationHandler") com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference) throws Exception
      Throws:
      Exception