Class CreateSandboxRequestNotificationAutoConfiguration
java.lang.Object
com.broadleafcommerce.dataimport.messaging.autoconfigure.CreateSandboxRequestNotificationAutoConfiguration
@Configuration
@EnableConfigurationProperties(CreateSandboxRequestNotificationProperties.class)
@ConditionalOnPropertyOrGroup(name="broadleaf.import.create-sandbox-request.notification.active",
group="broadleaf.basic.messaging.enabled",
matchIfMissing=true)
@EnableBinding(CreateSandboxRequestProducer.class)
@AutoConfigureAfter(com.broadleafcommerce.common.messaging.autoconfigure.DurableNotificationAutoConfiguration.class)
public class CreateSandboxRequestNotificationAutoConfiguration
extends Object
Configure the durable notification components for
CreateSandboxRequestProducer
.
Note: a lot of this class is copied in the common-bulk-operations library. Changes here should be propagated there.
- Author:
- Samarth Dhruva (samarthd)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.messaging.notification.MessageFactory<CreateSandboxRequest>
importCreateSandboxRequestMessageFactory
(com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager manager) com.broadleafcommerce.common.messaging.notification.NotificationHandler
importCreateSandboxRequestNotificationHandler
(CreateSandboxRequestProducer producer, CreateSandboxRequestNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageFactory<CreateSandboxRequest> messageFactory, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterService
importCreateSandboxRequestRetryClusterService
(org.apache.camel.cluster.CamelClusterService camelClusterService, CreateSandboxRequestNotificationProperties 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
-
CreateSandboxRequestNotificationAutoConfiguration
public CreateSandboxRequestNotificationAutoConfiguration()
-
-
Method Details
-
importCreateSandboxRequestMessageFactory
@Bean @ConditionalOnMissingBean(name="importCreateSandboxRequestMessageFactory") public com.broadleafcommerce.common.messaging.notification.MessageFactory<CreateSandboxRequest> importCreateSandboxRequestMessageFactory(com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager manager) -
importCreateSandboxRequestNotificationHandler
@Bean @ConditionalOnMissingBean(name="importCreateSandboxRequestNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler importCreateSandboxRequestNotificationHandler(CreateSandboxRequestProducer producer, CreateSandboxRequestNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, @Qualifier("importCreateSandboxRequestMessageFactory") com.broadleafcommerce.common.messaging.notification.MessageFactory<CreateSandboxRequest> messageFactory, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) -
importCreateSandboxRequestRetryClusterService
@Bean @ConditionalOnMissingBean(name="importCreateSandboxRequestRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService importCreateSandboxRequestRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, CreateSandboxRequestNotificationProperties properties, ImportRepository<?> repository, @Qualifier("importCreateSandboxRequestNotificationHandler") 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
-