Package com.swiftmq.swiftlet.queue
Interface QueueFactory
public interface QueueFactory
Interface for queue factories.
- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptioncreateQueue
(String queueName, Entity queueEntity) Creates a new abstract queue from the given entity.boolean
Returns whether queues created from this factory should be registered in the Usage section of the management tree
-
Method Details
-
registerUsage
boolean registerUsage()Returns whether queues created from this factory should be registered in the Usage section of the management tree- Returns:
- true/false
-
createQueue
Creates a new abstract queue from the given entity.- Parameters:
queueName
- queue namequeueEntity
- queue entity- Throws:
QueueException
- on error creating the queue
-