public class QueueConfig extends Object
| Constructor and Description | 
|---|
QueueConfig(String name)
Creates a specification of a queue for Async with no listeners attached. 
 | 
QueueConfig(String name,
           CommandListener commandListener,
           int listenerCount)
Creates a specification of a queue for Async. 
 | 
QueueConfig(String name,
           CommandListener commandListener,
           int listenerCount,
           boolean durable)
Creates a specification of a queue for Async 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CommandListener | 
getCommandListener()  | 
int | 
getListenerCount()  | 
String | 
getName()  | 
boolean | 
isDurable()  | 
public QueueConfig(String name, CommandListener commandListener, int listenerCount)
name - human readable name of queuecommandListener - CommandListener instance, must be thread safe.listenerCount - number of listeners to attach to a queue. Effectively this
                      is a number of processing threads.public QueueConfig(String name)
name - human readable name of queuepublic QueueConfig(String name, CommandListener commandListener, int listenerCount, boolean durable)
name - human readable name of queuecommandListener - CommandListener instance, must be thread safe.listenerCount - number of listeners to attach to a queue. Effectively this
                      is a number of processing threads.durable - true to enable to save messages to hard drive, false otherwise.public String getName()
public CommandListener getCommandListener()
public int getListenerCount()
public boolean isDurable()
Copyright © 2020 JavaLite. All rights reserved.