Class CompositeQueueFactory
- java.lang.Object
-
- com.swiftmq.impl.queue.standard.composite.CompositeQueueFactory
-
- All Implemented Interfaces:
QueueFactory
public class CompositeQueueFactory extends java.lang.Object implements QueueFactory
-
-
Constructor Summary
Constructors Constructor Description CompositeQueueFactory(SwiftletContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractQueue
createQueue(java.lang.String queueName, Entity compositeQueueEntity)
Creates a new abstract queue from the given entity.boolean
registerUsage()
Returns whether queues created from this factory should be registered in the Usage section of the management tree
-
-
-
Constructor Detail
-
CompositeQueueFactory
public CompositeQueueFactory(SwiftletContext ctx)
-
-
Method Detail
-
registerUsage
public boolean registerUsage()
Description copied from interface:QueueFactory
Returns whether queues created from this factory should be registered in the Usage section of the management tree- Specified by:
registerUsage
in interfaceQueueFactory
- Returns:
- true/false
-
createQueue
public AbstractQueue createQueue(java.lang.String queueName, Entity compositeQueueEntity) throws QueueException
Description copied from interface:QueueFactory
Creates a new abstract queue from the given entity.- Specified by:
createQueue
in interfaceQueueFactory
- Parameters:
queueName
- queue namecompositeQueueEntity
- queue entity- Throws:
QueueException
- on error creating the queue
-
-