Package org.wso2.carbon.queuing
Class CarbonQueueManager
java.lang.Object
org.wso2.carbon.queuing.CarbonQueueManager
A queue manager for carbon.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CarbonQueueManagerReturns the singleton CarbonQueueManagerCarbonQueue<?> Method to obtain a named queue.static voidsetInstance(CarbonQueueManager instance) Returns the singleton CarbonQueueManager
-
Constructor Details
-
CarbonQueueManager
public CarbonQueueManager()
-
-
Method Details
-
getInstance
Returns the singleton CarbonQueueManager- Returns:
- the instance or null if an instance has not been set.
-
setInstance
Returns the singleton CarbonQueueManager- Parameters:
instance- the CarbonQueueManager instance to set.
-
getQueue
Method to obtain a named queue.- Parameters:
name- the name of the queue.- Returns:
- the corresponding queue.
-