Class DurableNotificationAutoConfiguration
java.lang.Object
com.broadleafcommerce.common.messaging.autoconfigure.DurableNotificationAutoConfiguration
@ConditionalOnProperty(value="broadleaf.durable.notification.active",
matchIfMissing=true)
@Configuration
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, org.springframework.scheduling.TaskScheduler scheduler, com.broadleafcommerce.common.extension.data.DataRouteReference reference) org.springframework.scheduling.TaskScheduler
-
Constructor Details
-
DurableNotificationAutoConfiguration
public DurableNotificationAutoConfiguration()
-
-
Method Details
-
notificationManager
@Bean @ConditionalOnMissingBean(NotificationManager.class) public NotificationManager notificationManager(@Nullable List<NotificationHandler> handlers) -
retryScheduler
@Bean @Scope("prototype") @ConditionalOnMissingBean(name="retryScheduler") public org.springframework.scheduling.TaskScheduler retryScheduler() -
retryHandler
@Bean @ConditionalOnMissingBean(name="retryHandler") @Scope("prototype") public RetryHandler retryHandler(NotificationStateRepository repo, NotificationHandler handler, DurableNotificationProperties properties, String messageType, org.springframework.scheduling.TaskScheduler scheduler, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-