Package com.swiftmq.impl.queue.standard
Class QueueManagerImpl
java.lang.Object
QueueManager
com.swiftmq.impl.queue.standard.QueueManagerImpl
public class QueueManagerImpl
extends QueueManager
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final char
static final int[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addQueueManagerListener
(String queueName, QueueManagerListener l) void
addQueueManagerListener
(QueueManagerListener l) protected CacheTableFactory
protected MessageQueueFactory
void
createQueue
(String queueName, ActiveLogin activeLogin) void
createQueue
(String queueName, QueueFactory factory) QueueBrowser
createQueueBrowser
(String queueName, ActiveLogin activeLogin, Selector selector) QueueReceiver
createQueueReceiver
(String queueName, ActiveLogin activeLogin, Selector selector) QueueSender
createQueueSender
(String queueName, ActiveLogin activeLogin) protected RegularQueueFactory
protected SwiftletContext
createSwiftletContext
(Configuration config) protected SystemQueueFactory
protected TempQueueFactory
void
deleteQueue
(String queueName, boolean onEmpty) void
deleteTemporaryQueue
(String queueName) String[]
long
getQueueForInternalUse
(String queueName) getQueueForInternalUse
(String queueName, boolean respectRedirection) boolean
boolean
boolean
boolean
isQueueDefined
(String queueName) boolean
isQueueRunning
(String queueName) boolean
isSystemQueue
(String queueName) boolean
isTemporaryQueue
(String queueName) void
void
purgeQueue
(String queueName) void
removeQueueManagerListener
(String queueName, QueueManagerListener l) void
removeQueueManagerListener
(QueueManagerListener l) void
setQueueInboundRedirector
(String likePredicate, String inboundQueueName) void
setQueueOutboundRedirector
(String likePredicate, String outboundQueueName) protected void
shutdown()
protected void
protected void
startup
(Configuration config) stripLocalName
(String name)
-
Field Details
-
DLQ
- See Also:
-
CLUSTER_TOPIC
- See Also:
-
VERSIONS
public static final int[] VERSIONS -
PROP_LOG_EXPIRED
- See Also:
-
PROP_LOG_DUPLICATES
- See Also:
-
PROP_DELIVER_EXPIRED
- See Also:
-
PROP_CLEANUP_INTERVAL
- See Also:
-
PROP_COLLECT_INTERVAL
- See Also:
-
PROP_MESSAGES_MAXIMUM
- See Also:
-
PROP_PERSISTENCE
- See Also:
-
PROP_MAX_FLOWCONTROL_DELAY
- See Also:
-
PROP_FLOWCONTROL_QUEUE_SIZE
- See Also:
-
PROP_ACACHE_SIZE
- See Also:
-
PROP_ACACHE_SIZE_KB
- See Also:
-
PROP_ACLEANUP_INTERVAL
- See Also:
-
PROP_AFLOWCONTROL_QUEUE_SIZE
- See Also:
-
PROP_AMESSAGES_MAXIMUM
- See Also:
-
PROP_LATENCY
- See Also:
-
PROP_MCACHE_MESSAGES
- See Also:
-
PROP_MCACHE_SIZE_KB
- See Also:
-
PROP_MESSAGECOUNT
- See Also:
-
PROP_MSG_CONSUME_RATE
- See Also:
-
PROP_MSG_PRODUCE_RATE
- See Also:
-
PROP_TOTAL_CONSUMED
- See Also:
-
PROP_TOTAL_PRODUCED
- See Also:
-
PROP_FLOWCONTROL_DELAY
- See Also:
-
PROP_DUPLICATE_DETECTION_ENABLED
- See Also:
-
PROP_DUPLICATE_DETECTION_BACKLOG_SIZE
- See Also:
-
PROP_MULTI_QUEUE_TX_GLOBAL_LOCK
- See Also:
-
PROP_CONSUMER
- See Also:
-
PROP_CACHE_SIZE
- See Also:
-
PROP_CACHE_SIZE_BYTES_KB
- See Also:
-
PREFIX_TEMP_QUEUE
- See Also:
-
SYSTEM_QUEUE_CHAR
public static final char SYSTEM_QUEUE_CHAR- See Also:
-
-
Constructor Details
-
QueueManagerImpl
public QueueManagerImpl()
-
-
Method Details
-
createSwiftletContext
-
createMessaageGroupDispatchPolicyFactory
-
createTempQueueFactory
-
createSystemQueueFactory
-
createRegularQueueFactory
-
createMessageQueueFactory
-
createCacheTableFactory
-
getMaxFlowControlDelay
public long getMaxFlowControlDelay() -
isLogDuplicates
public boolean isLogDuplicates() -
isLogExpired
public boolean isLogExpired() -
isDeliverExpired
public boolean isDeliverExpired() -
isTemporaryQueue
-
isSystemQueue
-
stripLocalName
-
getQueueForInternalUse
-
getQueueForInternalUse
-
fqn
-
isQueueDefined
-
isQueueRunning
-
createQueueSender
public QueueSender createQueueSender(String queueName, ActiveLogin activeLogin) throws QueueException, AuthenticationException - Throws:
QueueException
AuthenticationException
-
createQueueReceiver
public QueueReceiver createQueueReceiver(String queueName, ActiveLogin activeLogin, Selector selector) throws QueueException, AuthenticationException - Throws:
QueueException
AuthenticationException
-
createQueueBrowser
public QueueBrowser createQueueBrowser(String queueName, ActiveLogin activeLogin, Selector selector) throws QueueException, AuthenticationException - Throws:
QueueException
AuthenticationException
-
addQueueManagerListener
public void addQueueManagerListener(QueueManagerListener l) -
addQueueManagerListener
public void addQueueManagerListener(String queueName, QueueManagerListener l) throws UnknownQueueException - Throws:
UnknownQueueException
-
removeQueueManagerListener
public void removeQueueManagerListener(QueueManagerListener l) -
removeQueueManagerListener
-
performTimeAction
public void performTimeAction() -
createQueue
public void createQueue(String queueName, ActiveLogin activeLogin) throws QueueException, AuthenticationException - Throws:
QueueException
AuthenticationException
-
createQueue
- Throws:
QueueException
-
deleteQueue
- Throws:
QueueException
-
createTemporaryQueue
- Throws:
QueueException
-
deleteTemporaryQueue
- Throws:
QueueException
-
purgeQueue
- Throws:
QueueException
-
getDefinedQueueNames
-
setQueueOutboundRedirector
public void setQueueOutboundRedirector(String likePredicate, String outboundQueueName) throws UnknownQueueException - Throws:
UnknownQueueException
-
setQueueInboundRedirector
public void setQueueInboundRedirector(String likePredicate, String inboundQueueName) throws UnknownQueueException - Throws:
UnknownQueueException
-
startCluster
- Throws:
Exception
-
startup
protected void startup(Configuration config) throws SwiftletException - Throws:
SwiftletException
-
shutdown
protected void shutdown() throws SwiftletException- Throws:
SwiftletException
-