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 Details

    • 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()