Class ProcessExportRequestNotificationAutoConfiguration

java.lang.Object
com.broadleafcommerce.common.dataexport.messaging.autoconfigure.ProcessExportRequestNotificationAutoConfiguration

@Configuration @EnableConfigurationProperties(ProcessExportRequestNotificationProperties.class) @ConditionalOnPropertyOrGroup(name="broadleaf.export.process-export-request.notification.active", group="broadleaf.basic.messaging.enabled", matchIfMissing=true) @EnableBinding(ProcessExportRequestProducer.class) @AutoConfigureAfter(com.broadleafcommerce.common.messaging.autoconfigure.DurableNotificationAutoConfiguration.class) public class ProcessExportRequestNotificationAutoConfiguration extends Object
Configure the durable notification components for ProcessExportRequestProducer.
Author:
Samarth Dhruva (samarthd)
  • Constructor Details

    • ProcessExportRequestNotificationAutoConfiguration

      public ProcessExportRequestNotificationAutoConfiguration()
  • Method Details

    • processExportRequestMessageFactory

      @Bean @ConditionalOnMissingBean(name="processExportRequestMessageFactory") public com.broadleafcommerce.common.messaging.notification.MessageFactory<ProcessExportRequest> processExportRequestMessageFactory(com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager manager)
    • processExportRequestNotificationHandler

      @Bean @ConditionalOnMissingBean(name="processExportRequestNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler processExportRequestNotificationHandler(ProcessExportRequestProducer producer, ProcessExportRequestNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, @Qualifier("processExportRequestMessageFactory") com.broadleafcommerce.common.messaging.notification.MessageFactory<ProcessExportRequest> messageFactory, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper)
    • processExportRequestRetryClusterService

      @Bean @ConditionalOnMissingBean(name="processExportRequestRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService processExportRequestRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, ProcessExportRequestNotificationProperties properties, ExportRepository<?> repository, @Qualifier("processExportRequestNotificationHandler") 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