Uses of Interface
com.broadleafcommerce.common.messaging.notification.NotificationStateRepository
-
-
Uses of NotificationStateRepository in com.broadleafcommerce.common.messaging
Methods in com.broadleafcommerce.common.messaging with parameters of type NotificationStateRepository Modifier and Type Method Description void
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 NotificationStateRepository Modifier and Type Method Description RetryHandler
DurableNotificationAutoConfiguration. 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 NotificationStateRepository Modifier and Type Method Description RetryClusterService
PersistenceNotificationAutoConfiguration. 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.notification Modifier and Type Interface Description interface
NotificationStateRepositoryFragment
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 with parameters of type NotificationStateRepository Modifier and Type Method Description default 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)
NotificationHandlerResponse
DefaultNotificationHandler. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String requestedType)
void
DefaultNotificationManager. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType)
NotificationHandlerResponse
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.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 NotificationStateRepository Modifier and Type Method Description static 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
instanceConstructors in com.broadleafcommerce.common.messaging.notification with parameters of type NotificationStateRepository Constructor Description DefaultRetryHandler(NotificationStateRepository repository, NotificationHandler notificationHandler, DurableNotificationProperties properties, String messageType, org.springframework.scheduling.TaskScheduler scheduler, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
Constructor parameters in com.broadleafcommerce.common.messaging.notification with type arguments of type NotificationStateRepository Constructor Description DefaultRetryClusterService(List<NotificationStateRepository> repositories, NotificationHandler notificationHandler, DurableNotificationProperties properties, String messageType, List<IgnoredNotificationStateRepository> ignoredRepositories, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-