public class ClusterQueueManager extends org.mule.runtime.core.internal.util.queue.AbstractQueueManager implements ClusterQueueNameResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
QUEUE_LABEL |
| Constructor and Description |
|---|
ClusterQueueManager(HazelcastClusterManager hazelcastManager) |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.runtime.core.internal.util.queue.QueueStore |
createQueueStore(String queueName,
org.mule.runtime.core.api.util.queue.QueueConfiguration config) |
protected void |
doDispose() |
static String |
getQueuePrefix(org.mule.runtime.core.api.MuleContext muleContext) |
static String |
getQueuePrefix(String appId) |
org.mule.runtime.core.api.util.queue.QueueSession |
getQueueSession() |
org.mule.runtime.core.internal.util.queue.RecoverableQueueStore |
getRecoveryQueue(String queueName) |
void |
initialise() |
String |
resolveQueueName(String queueName)
Creates a unique name for the queue
|
static String |
resolveQueueName(String appId,
String queueName) |
void |
start() |
void |
stop() |
public static final String QUEUE_LABEL
public ClusterQueueManager(HazelcastClusterManager hazelcastManager)
public org.mule.runtime.core.api.util.queue.QueueSession getQueueSession()
getQueueSession in interface org.mule.runtime.core.api.util.queue.QueueManagerClusterQueueSessionpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionprotected org.mule.runtime.core.internal.util.queue.QueueStore createQueueStore(String queueName, org.mule.runtime.core.api.util.queue.QueueConfiguration config)
createQueueStore in class org.mule.runtime.core.internal.util.queue.AbstractQueueManagerprotected void doDispose()
doDispose in class org.mule.runtime.core.internal.util.queue.AbstractQueueManagerpublic org.mule.runtime.core.internal.util.queue.RecoverableQueueStore getRecoveryQueue(String queueName)
getRecoveryQueue in interface org.mule.runtime.core.internal.util.queue.QueueProviderpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic String resolveQueueName(String queueName)
ClusterQueueNameResolverresolveQueueName in interface ClusterQueueNameResolverqueueName - logical queue namepublic static String getQueuePrefix(org.mule.runtime.core.api.MuleContext muleContext)
Copyright © 2006–2022 MuleSoft, Inc.. All rights reserved.