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 Summary
ConstructorDescriptionPromotionCacheInvalidationMessagingConfiguration
(org.springframework.context.ApplicationContext beanFactory, PromotionCacheInvalidationProducer producer, PromotionCacheInvalidationMessagingProperties properties, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper, org.apache.camel.cluster.CamelClusterService camelClusterService, 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 Summary
Modifier and TypeMethodDescriptionSupplier<com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager>
Supplier<List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository>>
com.broadleafcommerce.common.messaging.notification.MessageFactory<PromotionCacheInvalidationRemoteEvent>
com.broadleafcommerce.common.messaging.notification.NotificationHandler
org.springframework.context.ApplicationListener<com.broadleafcommerce.data.tracking.core.service.MutationNotifyEvent>
Supplier<com.broadleafcommerce.common.messaging.notification.NotificationManager>
com.broadleafcommerce.data.tracking.core.mapping.DomainMapperMember
com.broadleafcommerce.common.messaging.notification.RetryClusterService
-
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
-
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()
-