org.apache.camel.queue
Class QueueComponent<E>

java.lang.Object
  extended by org.apache.camel.queue.QueueComponent<E>
All Implemented Interfaces:
Component<E>

public class QueueComponent<E>
extends Object
implements Component<E>

Represents the component that manages QueueEndpoint. It holds the list of named queues that queue endpoints reference.

Version:
$Revision: 519973 $

Constructor Summary
QueueComponent()
           
 
Method Summary
protected  BlockingQueue<E> createQueue()
           
 CamelContext getContainer()
           
 BlockingQueue<E> getOrCreateQueue(String uri)
           
 void setContext(CamelContext container)
          The CamelContext is injected into the component when it is added to it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueComponent

public QueueComponent()
Method Detail

setContext

public void setContext(CamelContext container)
Description copied from interface: Component
The CamelContext is injected into the component when it is added to it

Specified by:
setContext in interface Component<E>

getOrCreateQueue

public BlockingQueue<E> getOrCreateQueue(String uri)

createQueue

protected BlockingQueue<E> createQueue()

getContainer

public CamelContext getContainer()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.