Class ProcessImportRequestNotificationAutoConfiguration
java.lang.Object
com.broadleafcommerce.dataimport.messaging.autoconfigure.ProcessImportRequestNotificationAutoConfiguration
@Configuration
@EnableConfigurationProperties(ProcessImportRequestNotificationProperties.class)
@ConditionalOnPropertyOrGroup(name="broadleaf.import.process-import-request.notification.active",
group="broadleaf.basic.messaging.enabled",
matchIfMissing=true)
@EnableBinding(ProcessImportRequestProducer.class)
public class ProcessImportRequestNotificationAutoConfiguration
extends Object
Configure the durable notification components for
ProcessImportRequestProducer
.- Author:
- Phillip Verheyden (phillipuniverse)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprocessImportRequestMessageFactory
(com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager manager) com.broadleafcommerce.common.messaging.notification.NotificationHandler
processImportRequestNotificationHandler
(ProcessImportRequestProducer producer, ProcessImportRequestNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, ProcessImportRequestMessageFactory messageFactory, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterService
processImportRequestRetryClusterService
(org.apache.camel.cluster.CamelClusterService camelClusterService, ProcessImportRequestNotificationProperties properties, ImportRepository<?> repository, com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-
Constructor Details
-
ProcessImportRequestNotificationAutoConfiguration
public ProcessImportRequestNotificationAutoConfiguration()
-
-
Method Details
-
processImportRequestMessageFactory
@Bean @ConditionalOnMissingBean public ProcessImportRequestMessageFactory processImportRequestMessageFactory(com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager manager) -
processImportRequestNotificationHandler
@Bean @ConditionalOnMissingBean(name="processImportRequestNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler processImportRequestNotificationHandler(ProcessImportRequestProducer producer, ProcessImportRequestNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, ProcessImportRequestMessageFactory messageFactory, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) -
processImportRequestRetryClusterService
@Bean @ConditionalOnMissingBean(name="processImportRequestRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService processImportRequestRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, ProcessImportRequestNotificationProperties properties, ImportRepository<?> repository, @Qualifier("processImportRequestNotificationHandler") com.broadleafcommerce.common.messaging.notification.NotificationHandler handler, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference) throws Exception - Throws:
Exception
-