Class TransitionRequestCompletionNotificationAutoConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.core.messaging.autoconfigure.TransitionRequestCompletionNotificationAutoConfiguration
@EnableConfigurationProperties(TransitionRequestCompletionNotificationProperties.class)
@EnableBinding(WorkflowRequestCompletionProducer.class)
@ConditionalOnPropertyOrGroup(name="broadleaf.transitionrequestcompletion.notification.active",
group="broadleaf.basic.messaging.enabled",
matchIfMissing=true)
@AutoConfigureAfter(com.broadleafcommerce.common.messaging.autoconfigure.DurableNotificationAutoConfiguration.class)
@Configuration
public class TransitionRequestCompletionNotificationAutoConfiguration
extends Object
Configure the durable notification components related to
WorkflowRequestCompletionProducer
- Author:
- Jeff Fischer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncompletionNotifier
(WorkflowRequestCompletionProducer completionProducer) com.broadleafcommerce.common.messaging.notification.NotificationHandler
transitionRequestCompletionNotificationHandler
(WorkflowRequestCompletionProducer producer, TransitionRequestCompletionNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) com.broadleafcommerce.common.messaging.notification.RetryClusterService
transitionRequestCompletionRetryClusterService
(org.apache.camel.cluster.CamelClusterService camelClusterService, TransitionRequestCompletionNotificationProperties 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)
-
Constructor Details
-
TransitionRequestCompletionNotificationAutoConfiguration
public TransitionRequestCompletionNotificationAutoConfiguration()
-
-
Method Details
-
completionNotifier
@Bean @ConditionalOnMissingBean public WorkflowRequestCompletionNotifier completionNotifier(WorkflowRequestCompletionProducer completionProducer) -
transitionRequestCompletionNotificationHandler
@Bean @ConditionalOnMissingBean(name="transitionRequestCompletionNotificationHandler") public com.broadleafcommerce.common.messaging.notification.NotificationHandler transitionRequestCompletionNotificationHandler(WorkflowRequestCompletionProducer producer, TransitionRequestCompletionNotificationProperties properties, List<com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) -
transitionRequestCompletionRetryClusterService
@Bean @ConditionalOnMissingBean(name="transitionRequestCompletionRetryClusterService") public com.broadleafcommerce.common.messaging.notification.RetryClusterService transitionRequestCompletionRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, TransitionRequestCompletionNotificationProperties properties, @Nullable List<com.broadleafcommerce.common.messaging.notification.NotificationStateRepository> repositories, @Qualifier("transitionRequestCompletionNotificationHandler") 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
-