org.wso2.carbon.utils.multitenancy
Interface MultitenantCarbonQueueManager


public interface MultitenantCarbonQueueManager

A simple interface that needs to be implemented by a queue service provider which is capable of handling tenant-specific queues.


Method Summary
 org.wso2.carbon.queuing.CarbonQueue<?> getQueue(String name, int tenantId)
          Method to obtain a queue.
 

Method Detail

getQueue

org.wso2.carbon.queuing.CarbonQueue<?> getQueue(String name,
                                                int tenantId)
Method to obtain a queue.

Parameters:
name - the name of the queue.
tenantId - the tenant's identifier.
Returns:
the corresponding queue.


Copyright © 2014 WSO2 Inc. All rights reserved.