public interface DistributionQueueProvider
DistributionQueues| Modifier and Type | Method and Description |
|---|---|
void |
disableQueueProcessing()
disables queue processing
|
void |
enableQueueProcessing(DistributionQueueProcessor queueProcessor,
String... queueNames)
enables queue processing
|
DistributionQueue |
getQueue(String queueName)
provide an
DistributionQueueType.ORDERED queue with the given name |
DistributionQueue |
getQueue(String queueName,
DistributionQueueType type)
provde a queue of the given type with the given name
|
@Nonnull DistributionQueue getQueue(@Nonnull String queueName) throws DistributionException
DistributionQueueType.ORDERED queue with the given namequeueName - the name of the queue to retrieveDistributionQueueDistributionExceptionDistributionQueue getQueue(@Nonnull String queueName, @Nonnull DistributionQueueType type)
queueName - the name of the queuetype - the type of the queueDistributionQueuevoid enableQueueProcessing(@Nonnull DistributionQueueProcessor queueProcessor, String... queueNames) throws DistributionException
queueProcessor - the queue processor to be usedDistributionExceptionvoid disableQueueProcessing()
throws DistributionException
DistributionExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.