Class ChangeSummaryNotificationAutoConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.core.messaging.autoconfigure.ChangeSummaryNotificationAutoConfiguration
@EnableConfigurationProperties(ChangeSummaryNotificationProperties.class)
@EnableBinding({ChangeSummaryProducer.class,SandboxDeleteConsumer.class})
@ConditionalOnPropertyOrGroup(name="broadleaf.changesummary.notification.active",
group="broadleaf.basic.messaging.enabled",
matchIfMissing=true)
@AutoConfigureAfter({com.broadleafcommerce.common.messaging.autoconfigure.DurableNotificationAutoConfiguration.class,SingleIndexRequestNotificationAutoConfiguration.class})
@Configuration
public class ChangeSummaryNotificationAutoConfiguration
extends Object
Configure the durable notification components related to
ChangeSummaryProducer
- Author:
- Jeff Fischer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.messaging.notification.MessageFactory<ChangeEvent>
changeSummaryMessageFactory
(DomainMapperManager manager, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.common.messaging.notification.MessageFactory<SingleIndexRequest<Identifiable>> messageFactory, TrackableBehaviorUtil util) com.broadleafcommerce.common.messaging.notification.NotificationHandler
changeSummaryNotificationHandler
(ChangeSummaryProducer producer, ChangeSummaryNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageFactory<ChangeEvent> messageFactory, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterService
changeSummaryRetryClusterService
(org.apache.camel.cluster.CamelClusterService camelClusterService, ChangeSummaryNotificationProperties 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) defaultSandboxDeleteListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, CustomizedCommonSandboxableEntityRepository customizedCommonArchiveSandboxableEntityRepository, com.broadleafcommerce.common.extension.data.DataRouteReference routeReference)
-
Constructor Details
-
ChangeSummaryNotificationAutoConfiguration
public ChangeSummaryNotificationAutoConfiguration()
-
-
Method Details
-
changeSummaryMessageFactory
@Bean @ConditionalOnMissingBean(name="changeSummaryMessageFactory") public com.broadleafcommerce.common.messaging.notification.MessageFactory<ChangeEvent> changeSummaryMessageFactory(DomainMapperManager manager, com.broadleafcommerce.common.extension.TypeFactory typeFactory, @Nullable com.broadleafcommerce.common.messaging.notification.MessageFactory<SingleIndexRequest<Identifiable>> messageFactory, TrackableBehaviorUtil util) -
changeSummaryNotificationHandler
@Bean @ConditionalOnMissingBean(name="changeSummaryNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler changeSummaryNotificationHandler(ChangeSummaryProducer producer, ChangeSummaryNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, @Qualifier("changeSummaryMessageFactory") com.broadleafcommerce.common.messaging.notification.MessageFactory<ChangeEvent> messageFactory, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) -
changeSummaryRetryClusterService
@Bean @ConditionalOnMissingBean(name="changeSummaryRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService changeSummaryRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, ChangeSummaryNotificationProperties properties, @Nullable List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, @Qualifier("changeSummaryNotificationHandler") 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
-
defaultSandboxDeleteListener
@Bean @ConditionalOnMissingBean(name="defaultSandboxDeleteListener") public DefaultSandboxDeleteListener defaultSandboxDeleteListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, @Nullable CustomizedCommonSandboxableEntityRepository customizedCommonArchiveSandboxableEntityRepository, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference routeReference)
-