Uses of Interface
com.broadleafcommerce.common.messaging.notification.NotificationStateRepository
Packages that use NotificationStateRepository
Package
Description
-
Uses of NotificationStateRepository in com.broadleafcommerce.common.messaging
Methods in com.broadleafcommerce.common.messaging with parameters of type NotificationStateRepositoryModifier and TypeMethodDescriptionvoidPersistenceMessageAckedHandler.afterSuccessfulAcknowledgement(Object nativeId, NotificationStateAware notificationStateAware, NotificationStateRepository repository) A hook point intended to allow implementations to perform some behavior after aPersistenceMessagehas been successfully sent and theNotificationStatehas been marked as acknowledged.voidPersistenceMessageNotificationHandler.afterSuccessfulAcknowledgement(@NonNull Object nativeId, @NonNull NotificationStateAware notificationStateAware, NotificationStateRepository repository) Invokes eachPersistenceMessageAckedHandler. -
Uses of NotificationStateRepository in com.broadleafcommerce.common.messaging.autoconfigure
Methods in com.broadleafcommerce.common.messaging.autoconfigure with parameters of type NotificationStateRepositoryModifier and TypeMethodDescriptionDurableNotificationAutoConfiguration.retryHandler(NotificationStateRepository repo, NotificationHandler handler, DurableNotificationProperties properties, String messageType, org.springframework.scheduling.TaskScheduler scheduler, com.broadleafcommerce.common.extension.data.DataRouteReference reference) Method parameters in com.broadleafcommerce.common.messaging.autoconfigure with type arguments of type NotificationStateRepositoryModifier and TypeMethodDescriptionPersistenceNotificationAutoConfiguration.persistenceRetryClusterService(org.apache.camel.cluster.CamelClusterService camelClusterService, PersistenceNotificationProperties properties, List<NotificationStateRepository> repositories, NotificationHandler handler, List<IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference) -
Uses of NotificationStateRepository in com.broadleafcommerce.common.messaging.notification
Subinterfaces of NotificationStateRepository in com.broadleafcommerce.common.messaging.notificationModifier and TypeInterfaceDescriptioninterfaceMarker interface used to differentiate between a full repository implementingNotificationStateRepositoryand a internal repository fragment component providing the actual implementation.Methods in com.broadleafcommerce.common.messaging.notification that return NotificationStateRepositoryModifier and TypeMethodDescriptionRetryHandlerStatus.getRepository()The repository associated with the durable notification state for the messageMethods in com.broadleafcommerce.common.messaging.notification with parameters of type NotificationStateRepositoryModifier and TypeMethodDescriptiondefault voidNotificationHandler.afterSuccessfulAcknowledgement(Object nativeId, NotificationStateAware notificationStateAware, NotificationStateRepository repository) A hook point intended to allow implementations to perform some behavior after a message has been successfully sent and theNotificationStatehas been marked as acknowledged.protected RetryHandlerDefaultRetryClusterService.buildRetryHandler(NotificationStateRepository repository) DefaultNotificationHandler.handle(NotificationStateRepository repo, NotificationStateAware notifiable, String requestedType) voidDefaultNotificationManager.handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) NotificationHandler.handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) Notify the system in some way about the state change for the notifiable param.voidNotificationManager.handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) Notify the system in some way about the state change for the notifiable param.voidDefaultNotificationManager.handleAsync(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) voidDefaultNotificationManager.handleAsync(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType, Runnable callback) voidNotificationManager.handleAsync(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) Notify the system in some way about the state change for the notifiable param.voidNotificationManager.handleAsync(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType, Runnable callback) Notify the system in some way about the state change for the notifiable param.protected booleanDefaultNotificationHandler.notify(NotificationStateAware notifiable, NotificationState state, NotificationStateRepository repository) Validate the state requires notification, and if so, send the notification.Method parameters in com.broadleafcommerce.common.messaging.notification with type arguments of type NotificationStateRepositoryModifier and TypeMethodDescriptionstatic RetryClusterServiceRetryServiceFactory.create(org.apache.camel.cluster.CamelClusterService camelClusterService, DurableNotificationProperties properties, List<NotificationStateRepository> repositories, NotificationHandler handler, String messageType, List<IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference) Create a newRetryClusterServiceinstancestatic RetryClusterServiceRetryServiceFactory.create(org.apache.camel.cluster.CamelClusterService camelClusterService, DurableNotificationProperties properties, List<NotificationStateRepository> repositories, NotificationHandler handler, String messageType, List<IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference, List<Consumer<RetryHandlerStatus>> consumers) Constructors in com.broadleafcommerce.common.messaging.notification with parameters of type NotificationStateRepositoryModifierConstructorDescriptionDefaultRetryHandler(NotificationStateRepository repository, NotificationHandler notificationHandler, DurableNotificationProperties properties, String messageType, org.springframework.scheduling.TaskScheduler scheduler, com.broadleafcommerce.common.extension.data.DataRouteReference reference) RetryHandlerStatus(RetryHandler source, RetryHandlerStatusType status, NotificationStateRepository repository, String messageType) Constructor parameters in com.broadleafcommerce.common.messaging.notification with type arguments of type NotificationStateRepositoryModifierConstructorDescriptionDefaultRetryClusterService(List<NotificationStateRepository> repositories, NotificationHandler notificationHandler, DurableNotificationProperties properties, String messageType, List<IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference)