public class MapBasedQueueDef extends Object implements QueueDefinition
| Constructor and Description | 
|---|
MapBasedQueueDef(PropertyTree definition)  | 
| Modifier and Type | Method and Description | 
|---|---|
Optional<Integer> | 
getBatchIntervalMs()
Messages are aggregated in batches before being dispatched. 
 | 
Optional<Integer> | 
getBatchSize()
Messages are aggregated in batches before being dispatched. 
 | 
String | 
getName()
The name of the protocol. 
 | 
Optional<Integer> | 
getNumThreads()
Number of threads used for consuming/dispatching messages. 
 | 
Optional<Integer> | 
getQueueSize()
Maximum number of messages to keep in memory while waiting
 to be dispatched. 
 | 
Optional<Boolean> | 
getUseRoutingKey()
Whether or not the routing key should be used when forwarding messages to the broker. 
 | 
public MapBasedQueueDef(PropertyTree definition)
public String getName()
QueueDefinitiongetName in interface QueueDefinitionpublic Optional<Integer> getNumThreads()
QueueDefinitiongetNumThreads in interface QueueDefinitionpublic Optional<Integer> getBatchSize()
QueueDefinitiongetBatchSize in interface QueueDefinitionpublic Optional<Integer> getBatchIntervalMs()
QueueDefinitiongetBatchIntervalMs in interface QueueDefinitionpublic Optional<Integer> getQueueSize()
QueueDefinitiongetQueueSize in interface QueueDefinitionpublic Optional<Boolean> getUseRoutingKey()
QueueDefinitiongetUseRoutingKey in interface QueueDefinitionCopyright © 2020. All rights reserved.