org.apache.camel.component.seda
Class QueueReference

java.lang.Object
  extended by org.apache.camel.component.seda.QueueReference

public final class QueueReference
extends Object

Holder for queue references.

This is used to keep track of the usages of the queues, so we know when a queue is no longer in use, and can safely be discarded.


Method Summary
 int getCount()
          Gets the reference counter
 Boolean getMultipleConsumers()
           
 BlockingQueue<Exchange> getQueue()
          Gets the queue
 Integer getSize()
          Gets the queue size
 boolean hasConsumers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()
Gets the reference counter


getSize

public Integer getSize()
Gets the queue size

Returns:
null if unbounded

getMultipleConsumers

public Boolean getMultipleConsumers()

getQueue

public BlockingQueue<Exchange> getQueue()
Gets the queue


hasConsumers

public boolean hasConsumers()


Apache Camel