org.apache.camel.impl
Class EventDrivenConsumerRoute

java.lang.Object
  extended by org.apache.camel.impl.DefaultRoute
      extended by org.apache.camel.impl.EventDrivenConsumerRoute
All Implemented Interfaces:
Route

public class EventDrivenConsumerRoute
extends DefaultRoute

A DefaultRoute which starts with an Event Driven Consumer

Version:
$Revision: 769303 $

Field Summary
 
Fields inherited from interface 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()
           
 Navigate<Processor> navigate()
          Returns a navigator to navigate this route by navigating all the Processors.
 String toString()
           
 
Methods inherited from class org.apache.camel.impl.DefaultRoute
addService, getChannels, getEndpoint, getProperties, getServices, getServicesForRoute, setChannels, 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 DefaultRoute

getProcessor

public Processor getProcessor()

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 DefaultRoute
Throws:
Exception

navigate

public Navigate<Processor> navigate()
Description copied from interface: Route
Returns a navigator to navigate this route by navigating all the Processors.

Returns:
a navigator for Processor.


Copyright © 2009 Apache Software Foundation. All Rights Reserved.