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 voidPersistenceMessageAckedHandler. 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 NotificationStateRepository Modifier and Type Method Description RetryHandlerDurableNotificationAutoConfiguration. 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 RetryClusterServicePersistenceNotificationAutoConfiguration. 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 interfaceNotificationStateRepositoryFragmentMarker 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 with parameters of type NotificationStateRepository Modifier and Type Method Description default 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)NotificationHandlerResponseDefaultNotificationHandler. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String requestedType)voidDefaultNotificationManager. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType)NotificationHandlerResponseNotificationHandler. 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.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 NotificationStateRepository Modifier and Type Method Description static 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 newRetryClusterServiceinstanceConstructors 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)
-