Package org.apache.camel.component.seda
Class QueueReference
- java.lang.Object
-
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
Gets the reference counterBoolean
getMultipleConsumers()
BlockingQueue<org.apache.camel.Exchange>
getQueue()
Gets the queueInteger
getSize()
Gets the queue sizeboolean
hasConsumers()
-
-
-
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<org.apache.camel.Exchange> getQueue()
Gets the queue
-
hasConsumers
public boolean hasConsumers()
-
-