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