|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.Route<E>
public class Route<E extends Exchange>
A Route
defines the processing used on an inbound message exchange
from a specific Endpoint
within a CamelContext
Constructor Summary | |
---|---|
Route(Endpoint<E> endpoint)
|
|
Route(Endpoint<E> endpoint,
Service... services)
|
Method Summary | |
---|---|
void |
addService(Service service)
|
protected void |
addServices(List<Service> services)
Strategy method to allow derived classes to lazily load services for the route |
Endpoint<E> |
getEndpoint()
|
Map<String,Object> |
getProperties()
This property map is used to associate information about the route. |
List<Service> |
getServices()
Returns the additional services required for this particular route |
List<Service> |
getServicesForRoute()
|
void |
setEndpoint(Endpoint<E> endpoint)
|
void |
setServices(List<Service> services)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Route(Endpoint<E> endpoint)
public Route(Endpoint<E> endpoint, Service... services)
Method Detail |
---|
public String toString()
toString
in class Object
public Endpoint<E> getEndpoint()
public void setEndpoint(Endpoint<E> endpoint)
public Map<String,Object> getProperties()
public List<Service> getServicesForRoute() throws Exception
Exception
public List<Service> getServices()
public void setServices(List<Service> services)
public void addService(Service service)
protected void addServices(List<Service> services) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |