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)
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncom.broadleafcommerce.common.messaging.notification.NotificationHandlercartApprovalRequestNotificationHandler(CartApprovalRequestProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterServicecartApprovalRequestRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference) com.broadleafcommerce.common.messaging.notification.NotificationHandlercartAwaitingPaymentResultsNotificationHandler(CartAwaitingPaymentResultsProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) 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) com.broadleafcommerce.common.messaging.notification.NotificationHandlercartPendingPaymentFailedNotificationHandler(CartPendingPaymentFailedProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterServicecartPendingPaymentFailedRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference) com.broadleafcommerce.common.messaging.notification.NotificationHandlercartRejectionNotificationHandler(CartRejectionProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterServicecartRejectionRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference) com.broadleafcommerce.common.messaging.notification.NotificationHandlercheckoutCompletionNotificationHandler(com.broadleafcommerce.common.messaging.checkout.CheckoutCompletionProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterServicecheckoutCompletionRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference) com.broadleafcommerce.common.messaging.notification.NotificationHandlercheckoutRollbackNotificationHandler(CheckoutRollbackEventProducer producer, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterServicecheckoutRollbackRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CartNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference) 
- 
Constructor Details- 
CartServiceNotificationAutoConfigurationpublic 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
 
 
-