public class QueueFactoryImpl extends Object implements QueueFactory
| Modifier and Type | Field and Description |
|---|---|
protected HierarchicalRepository<AddressSettings> |
addressSettingsRepository |
protected ExecutorFactory |
executorFactory |
protected PostOffice |
postOffice
This is required for delete-all-reference to work correctly with paging, and controlling global-size
|
protected ScheduledExecutorService |
scheduledExecutor |
protected ActiveMQServer |
server |
protected StorageManager |
storageManager |
| Constructor and Description |
|---|
QueueFactoryImpl(ExecutorFactory executorFactory,
ScheduledExecutorService scheduledExecutor,
HierarchicalRepository<AddressSettings> addressSettingsRepository,
StorageManager storageManager,
ActiveMQServer server) |
| Modifier and Type | Method and Description |
|---|---|
Queue |
createQueue(long persistenceID,
SimpleString address,
SimpleString name,
Filter filter,
PageSubscription pageSubscription,
SimpleString user,
boolean durable,
boolean temporary,
boolean autoCreated)
Deprecated.
|
Queue |
createQueueWith(QueueConfig config) |
void |
queueRemoved(Queue queue) |
void |
setPostOffice(PostOffice postOffice)
This is required for delete-all-reference to work correctly with paging
|
protected final HierarchicalRepository<AddressSettings> addressSettingsRepository
protected final ScheduledExecutorService scheduledExecutor
protected PostOffice postOffice
protected final StorageManager storageManager
protected final ExecutorFactory executorFactory
protected final ActiveMQServer server
public QueueFactoryImpl(ExecutorFactory executorFactory, ScheduledExecutorService scheduledExecutor, HierarchicalRepository<AddressSettings> addressSettingsRepository, StorageManager storageManager, ActiveMQServer server)
public void setPostOffice(PostOffice postOffice)
QueueFactorysetPostOffice in interface QueueFactorypublic Queue createQueueWith(QueueConfig config)
createQueueWith in interface QueueFactory@Deprecated public Queue createQueue(long persistenceID, SimpleString address, SimpleString name, Filter filter, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated) throws Exception
createQueue in interface QueueFactoryExceptionpublic void queueRemoved(Queue queue)
queueRemoved in interface QueueFactoryCopyright © 2019 JBoss by Red Hat. All rights reserved.