|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Route
A Route
defines the processing used on an inbound message exchange
from a specific Endpoint
within a CamelContext
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 |
Consumer |
getConsumer()
Gets the inbound Consumer |
Endpoint |
getEndpoint()
Gets the inbound endpoint |
String |
getId()
Gets the route id |
Map<String,Object> |
getProperties()
This property map is used to associate information about the route. |
RouteContext |
getRouteContext()
Gets the route context |
List<Service> |
getServices()
Returns the services for this particular route |
Navigate<Processor> |
navigate()
Returns a navigator to navigate this route by navigating all the Processor s. |
void |
onStartingServices(List<Service> services)
A strategy callback allowing special initialization when services is starting. |
boolean |
supportsSuspension()
Whether or not the route supports suspension |
Field Detail |
---|
static final String ID_PROPERTY
static final String PARENT_PROPERTY
static final String GROUP_PROPERTY
Method Detail |
---|
String getId()
Endpoint getEndpoint()
Consumer getConsumer()
Consumer
boolean supportsSuspension()
Map<String,Object> getProperties()
RouteContext getRouteContext()
void onStartingServices(List<Service> services) throws Exception
services
- the service
Exception
- is thrown in case of errorList<Service> getServices()
void addService(Service service)
service
- the serviceNavigate<Processor> navigate()
Processor
s.
Processor
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |