To query for and display a list of queues do the following:
// Fetch a list of queue names for Work queues (QUEUE_PROCESS) // and User Queues (QUEUE_USER_CENTRIC) int myQueueFlags = (VWSession.QUEUE_PROCESS | VWSession.QUEUE_USER_CENTRIC); String[] QueueNames = null; QueueNames = MySession.fetchQueueNames(myQueueFlags);
When fetching the queue names, you will need to filter out the Component queues. To filter out the Component queues, get the queue using VWSession.getQueue(), and check the property using VWQueue.getIsConnectorQueue(). This method returns a boolean value indicating whether or not the queue is a Connector queue.
Additionally, you may find it helpful to use the QueueHelper Sample class.