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

    Modifier and Type
    Method
    Description
    org.wso2.carbon.queuing.CarbonQueue<?>
    getQueue(String name, int tenantId)
    Method to obtain a queue.
  • Method Details

    • 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.