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 TypeMethodDescriptionvoid
PersistenceMessageAckedHandler.afterSuccessfulAcknowledgement
(Object nativeId, NotificationStateAware notificationStateAware, NotificationStateRepository repository) A hook point intended to allow implementations to perform some behavior after aPersistenceMessage
has been successfully sent and theNotificationState
has been marked as acknowledged.void
PersistenceMessageNotificationHandler.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 TypeInterfaceDescriptioninterface
Marker interface used to differentiate between a full repository implementingNotificationStateRepository
and 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 void
NotificationHandler.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 theNotificationState
has been marked as acknowledged.protected RetryHandler
DefaultRetryClusterService.buildRetryHandler
(NotificationStateRepository repository) DefaultNotificationHandler.handle
(NotificationStateRepository repo, NotificationStateAware notifiable, String requestedType) void
DefaultNotificationManager.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.void
NotificationManager.handle
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) Notify the system in some way about the state change for the notifiable param.void
DefaultNotificationManager.handleAsync
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) void
DefaultNotificationManager.handleAsync
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType, Runnable callback) void
NotificationManager.handleAsync
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) Notify the system in some way about the state change for the notifiable param.void
NotificationManager.handleAsync
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType, Runnable callback) Notify the system in some way about the state change for the notifiable param.protected boolean
DefaultNotificationHandler.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 RetryClusterService
RetryServiceFactory.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 newRetryClusterService
instancestatic RetryClusterService
RetryServiceFactory.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)