org.apache.camel
Class Route
java.lang.Object
org.apache.camel.Route
- Direct Known Subclasses:
- EventDrivenConsumerRoute
public class Route
- extends Object
A Route
defines the processing used on an inbound message exchange
from a specific Endpoint
within a CamelContext
- Version:
- $Revision: 747062 $
ID_PROPERTY
public static final String ID_PROPERTY
- See Also:
- Constant Field Values
PARENT_PROPERTY
public static final String PARENT_PROPERTY
- See Also:
- Constant Field Values
GROUP_PROPERTY
public static final String GROUP_PROPERTY
- See Also:
- Constant Field Values
Route
public Route(Endpoint endpoint)
Route
public Route(Endpoint endpoint,
Service... services)
toString
public String toString()
- Overrides:
toString
in class Object
getEndpoint
public Endpoint getEndpoint()
setEndpoint
public void setEndpoint(Endpoint endpoint)
getProperties
public Map<String,Object> getProperties()
- This property map is used to associate information about
the route.
getServicesForRoute
public List<Service> getServicesForRoute()
throws Exception
- Throws:
Exception
getServices
public List<Service> getServices()
- Returns the additional services required for this particular route
setServices
public void setServices(List<Service> services)
addService
public void addService(Service service)
addServices
protected void addServices(List<Service> services)
throws Exception
- Strategy method to allow derived classes to lazily load services for the route
- Throws:
Exception
Copyright © 2009 Apache Software Foundation. All Rights Reserved.