org.apache.camel.impl
Class EventDrivenConsumerRoute<E extends Exchange>

java.lang.Object
  extended by org.apache.camel.Route<E>
      extended by org.apache.camel.impl.EventDrivenConsumerRoute<E>

public class EventDrivenConsumerRoute<E extends Exchange>
extends Route<E>

A Route which starts with an Event Driven Consumer

Version:
$Revision: 702954 $

Field Summary
 
Fields inherited from class org.apache.camel.Route
GROUP_PROPERTY, ID_PROPERTY, PARENT_PROPERTY
 
Constructor Summary
EventDrivenConsumerRoute(Endpoint endpoint, Processor processor)
           
 
Method Summary
protected  void addServices(List<Service> services)
          Factory method to lazily create the complete list of services required for this route such as adding the processor or consumer
 Processor getProcessor()
           
 void setProcessor(Processor processor)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.Route
addService, getEndpoint, getProperties, getServices, getServicesForRoute, setEndpoint, setServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventDrivenConsumerRoute

public EventDrivenConsumerRoute(Endpoint endpoint,
                                Processor processor)
Method Detail

toString

public String toString()
Overrides:
toString in class Route<E extends Exchange>

getProcessor

public Processor getProcessor()

setProcessor

public void setProcessor(Processor processor)

addServices

protected void addServices(List<Service> services)
                    throws Exception
Factory method to lazily create the complete list of services required for this route such as adding the processor or consumer

Overrides:
addServices in class Route<E extends Exchange>
Throws:
Exception


Apache CAMEL