org.apache.camel.component.queue
Class QueueEndpointConsumer<E extends Exchange>

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.component.queue.QueueEndpointConsumer<E>
All Implemented Interfaces:
Runnable, Consumer<E>, Service

public class QueueEndpointConsumer<E extends Exchange>
extends ServiceSupport
implements Consumer<E>, Runnable

Version:
$Revision: 534145 $

Constructor Summary
QueueEndpointConsumer(QueueEndpoint<E> endpoint, Processor processor)
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 void run()
           
 String toString()
           
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
isStarted, isStopped, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

QueueEndpointConsumer

public QueueEndpointConsumer(QueueEndpoint<E> endpoint,
                             Processor processor)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

run

public void run()
Specified by:
run in interface Runnable

doStart

protected void doStart()
                throws Exception
Specified by:
doStart in class ServiceSupport
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Specified by:
doStop in class ServiceSupport
Throws:
Exception


Copyright © 2007 Apache Software Foundation. All Rights Reserved.