org.apache.camel
Interface Route

All Known Implementing Classes:
DefaultRoute, EventDrivenConsumerRoute

public interface Route


Field Summary
static String GROUP_PROPERTY
           
static String ID_PROPERTY
           
static String PARENT_PROPERTY
           
 
Method Summary
 void addService(Service service)
          Adds a service to this route
 Endpoint getEndpoint()
          Gets the inbound endpoint
 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()
          This property map is used to associate information about the route.
 Navigate<Processor> navigate()
          Returns a navigator to navigate this route by navigating all the Processors.
 void setEndpoint(Endpoint endpoint)
          Sets the inbound endpoint
 void setServices(List<Service> services)
          Sets the sources for this route
 

Field Detail

ID_PROPERTY

static final String ID_PROPERTY
See Also:
Constant Field Values

PARENT_PROPERTY

static final String PARENT_PROPERTY
See Also:
Constant Field Values

GROUP_PROPERTY

static final String GROUP_PROPERTY
See Also:
Constant Field Values
Method Detail

getEndpoint

Endpoint getEndpoint()
Gets the inbound endpoint


setEndpoint

void setEndpoint(Endpoint endpoint)
Sets the inbound endpoint

Parameters:
endpoint - the endpoint

getProperties

Map<String,Object> getProperties()
This property map is used to associate information about the route.

Returns:
properties

getServicesForRoute

List<Service> getServicesForRoute()
                                  throws Exception
This property map is used to associate information about the route. Gets all tbe services for this routes

Returns:
the services
Throws:
Exception - is thrown in case of error

getServices

List<Service> getServices()
Returns the additional services required for this particular route


setServices

void setServices(List<Service> services)
Sets the sources for this route

Parameters:
services - the services

addService

void addService(Service service)
Adds a service to this route

Parameters:
service - the service

navigate

Navigate<Processor> navigate()
Returns a navigator to navigate this route by navigating all the Processors.

Returns:
a navigator for Processor.


Apache CAMEL