Class DurableNotificationAutoConfiguration
java.lang.Object
com.broadleafcommerce.common.messaging.autoconfigure.DurableNotificationAutoConfiguration
@ConditionalOnProperty(value="broadleaf.durable.notification.active",
matchIfMissing=true)
@Configuration
@EnableConfigurationProperties(RetrySchedulerProperties.class)
public class DurableNotificationAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnotificationManager(List<NotificationHandler> handlers) retryHandler(NotificationStateRepository repo, NotificationHandler handler, DurableNotificationProperties properties, String messageType, RoundRobinRetryScheduler scheduler, com.broadleafcommerce.common.extension.data.DataRouteReference reference) roundRobinRetryScheduler(RetrySchedulerProperties properties)
-
Constructor Details
-
DurableNotificationAutoConfiguration
public DurableNotificationAutoConfiguration()
-
-
Method Details
-
notificationMessageAsyncExecutor
@Bean @ConditionalOnMissingBean(name="notificationMessageAsyncExecutor") public Executor notificationMessageAsyncExecutor(NotificationManagerProperties properties) -
notificationManager
@Bean @ConditionalOnMissingBean(NotificationManager.class) public NotificationManager notificationManager(@Nullable List<NotificationHandler> handlers) -
roundRobinRetryScheduler
@Bean @ConditionalOnMissingBean(name="roundRobinRetryScheduler") public RoundRobinRetryScheduler roundRobinRetryScheduler(RetrySchedulerProperties properties) -
retryHandler
@Bean @ConditionalOnMissingBean(name="retryHandler") @Scope("prototype") public RetryHandler retryHandler(NotificationStateRepository repo, NotificationHandler handler, DurableNotificationProperties properties, String messageType, RoundRobinRetryScheduler scheduler, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-