Class PromotionCacheInvalidationMessagingConfiguration

java.lang.Object
com.broadleafcommerce.promotion.offer.service.messaging.autoconfigure.PromotionCacheInvalidationMessagingConfiguration

@Configuration @ConditionalOnPropertyOrGroup(name="broadleaf.offer.cache.invalidation.active", group="broadleaf.basic.messaging.enabled") @EnableBinding({PromotionCacheInvalidationConsumer.class,PromotionCacheInvalidationProducer.class}) @EnableConfigurationProperties(PromotionCacheInvalidationMessagingProperties.class) public class PromotionCacheInvalidationMessagingConfiguration extends Object
  • Constructor Details

    • PromotionCacheInvalidationMessagingConfiguration

      public PromotionCacheInvalidationMessagingConfiguration(org.springframework.context.ApplicationContext beanFactory, PromotionCacheInvalidationProducer producer, PromotionCacheInvalidationMessagingProperties properties, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper, org.apache.camel.cluster.CamelClusterService camelClusterService, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference, com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.context.ApplicationEventPublisher publisher)
  • Method Details

    • promotionCacheInvalidationDomainMapperManagerSupplier

      @Bean public Supplier<com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager> promotionCacheInvalidationDomainMapperManagerSupplier()
    • promotionCacheInvalidationNotificationManagerSupplier

      @Bean public Supplier<com.broadleafcommerce.common.messaging.notification.NotificationManager> promotionCacheInvalidationNotificationManagerSupplier()
    • promotionCacheInvalidationIgnoredRepositoriesSupplier

      @Bean public Supplier<List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository>> promotionCacheInvalidationIgnoredRepositoriesSupplier()
    • promotionCacheInvalidationNotificationStateRepositoriesSupplier

      @Bean public Supplier<List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository>> promotionCacheInvalidationNotificationStateRepositoriesSupplier()
    • promotionCacheInvalidationNotificationHandler

      @Bean @ConditionalOnMissingBean(name="promotionCacheInvalidationNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler promotionCacheInvalidationNotificationHandler()
    • promotionCacheInvalidationRetryClusterService

      @Bean @ConditionalOnMissingBean(name="promotionCacheInvalidationRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService promotionCacheInvalidationRetryClusterService() throws Exception
      Throws:
      Exception
    • promotionCacheInvalidationHelper

      @Bean @ConditionalOnMissingBean(name="promotionCacheInvalidationHelper") public PromotionCacheInvalidationHelper promotionCacheInvalidationHelper()
    • promotionCacheInvalidationNotificationStateMapperMember

      @Bean @ConditionalOnMissingBean(name="promotionCacheInvalidationNotificationStateMapperMember") public com.broadleafcommerce.data.tracking.core.mapping.DomainMapperMember promotionCacheInvalidationNotificationStateMapperMember()
    • promotionCacheInvalidationMessageFactory

      @Bean @ConditionalOnMissingBean(name="promotionCacheInvalidationMessageFactory") public com.broadleafcommerce.common.messaging.notification.MessageFactory<PromotionCacheInvalidationRemoteEvent> promotionCacheInvalidationMessageFactory()
    • promotionCacheInvalidationNotificationImmediateSender

      @Bean @ConditionalOnMissingBean(name="promotionCacheInvalidationNotificationImmediateSender") public org.springframework.context.ApplicationListener<com.broadleafcommerce.data.tracking.core.service.MutationNotifyEvent> promotionCacheInvalidationNotificationImmediateSender()
    • promotionCacheInvalidationEventListener

      @Bean @ConditionalOnMissingBean public PromotionCacheInvalidationEventListener promotionCacheInvalidationEventListener()