Package org.apache.camel.component.seda
Class QueueReference
java.lang.Object
org.apache.camel.component.seda.QueueReference
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
Modifier and TypeMethodDescriptionintgetCount()Gets the reference counterBlockingQueue<org.apache.camel.Exchange> getQueue()Gets the queuegetSize()Gets the queue sizeboolean
-
Method Details
-
getCount
public int getCount()Gets the reference counter -
getSize
Gets the queue size- Returns:
- null if unbounded
-
getMultipleConsumers
-
getQueue
Gets the queue -
hasConsumers
public boolean hasConsumers()
-