Class PruneRestingNotificationStatesAutoConfiguration
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.messaging.autoconfigure.PruneRestingNotificationStatesAutoConfiguration
-
@Configuration @ConditionalOnPropertyOrGroup(name="broadleaf.tracking.notification.prune.active", group="broadleaf.basic.messaging.enabled", matchIfMissing=true) @EnableConfigurationProperties(PruneRestingNotificationStatesConfigurationProperties.class) @EnableBinding(PruneNotificationTriggeredJobEventConsumer.class) public class PruneRestingNotificationStatesAutoConfiguration extends Object
Configuration pertaining to handling the scheduled job for pruning acked or stoppedNotificationStates
from records.- Author:
- Samarth Dhruva (samarthd)
-
-
Constructor Summary
Constructors Constructor Description PruneRestingNotificationStatesAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PruneRestingNotificationStatesHandler
pruneRestingNotificationStatesHandler(List<TrackableRepository<Trackable>> trackableRepositories, PruneRestingNotificationStatesConfigurationProperties configurationProperties)
PruneRestingNotificationStatesListener
pruneRestingNotificationStatesListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, PruneRestingNotificationStatesHandler pruneRestingNotificationStatesHandler, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-
-
-
Method Detail
-
pruneRestingNotificationStatesListener
@Bean @ConditionalOnMissingBean public PruneRestingNotificationStatesListener pruneRestingNotificationStatesListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, PruneRestingNotificationStatesHandler pruneRestingNotificationStatesHandler, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-
pruneRestingNotificationStatesHandler
@Bean @ConditionalOnMissingBean public PruneRestingNotificationStatesHandler pruneRestingNotificationStatesHandler(@Autowired(required=false) List<TrackableRepository<Trackable>> trackableRepositories, PruneRestingNotificationStatesConfigurationProperties configurationProperties)
-
-