create
public static RetryClusterService 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)
throws Exception
- Parameters:
camelClusterService
- The camel cluster instance controlling cluster service behavior
properties
- The properties governing the configuration for RetryHandler
instances
repositories
- All NotificationStateRepository
instances recognized by the
system
handler
- The NotificationHandler
instance that is associated with the
messageType
messageType
- The type of message being handled
ignoredRepositories
- Any repositories that should be ignored and not included in
handling
- Returns:
- The cluster singleton component controlling retry behavior
- Throws:
Exception
- Any problem with setting up the cluster singleton