Package org.apache.camel.component.seda
Interface BlockingQueueFactory<E>
- Type Parameters:
E- Element type, usuallyExchange
- All Known Implementing Classes:
ArrayBlockingQueueFactory,LinkedBlockingQueueFactory,PriorityBlockingQueueFactory
public interface BlockingQueueFactory<E>
Factory of
BlockingQueue-
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newBlockingQueuewith default capacitycreate(int capacity) Create a newBlockingQueuewith given capacity
-
Method Details
-
create
BlockingQueue<E> create()Create a newBlockingQueuewith default capacity- Returns:
- New
BlockingQueue
-
create
Create a newBlockingQueuewith given capacity- Returns:
- New
BlockingQueue
-