org.apache.camel.component.seda
Interface BlockingQueueFactory<E>

Type Parameters:
E - Element type, usually Exchange
All Known Implementing Classes:
ArrayBlockingQueueFactory, LinkedBlockingQueueFactory, PriorityBlockingQueueFactory

public interface BlockingQueueFactory<E>

Factory of BlockingQueue


Method Summary
 BlockingQueue<E> create()
          Create a new BlockingQueue with default capacity
 BlockingQueue<E> create(int capacity)
          Create a new BlockingQueue with given capacity
 

Method Detail

create

BlockingQueue<E> create()
Create a new BlockingQueue with default capacity

Returns:
New BlockingQueue

create

BlockingQueue<E> create(int capacity)
Create a new BlockingQueue with given capacity

Returns:
New BlockingQueue


Apache Camel