public abstract class SingleRouteCamelConfiguration extends CamelConfiguration
CamelContext with a single
RouteBuilder instance.
You may want to use Spring's Component annotation and mark your Camel
RouteBuilder classes using this annotation and have it automatic discovered, if you are using Spring's
annotation scanner.| Constructor and Description |
|---|
SingleRouteCamelConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.camel.builder.RouteBuilder |
route()
Creates the single
RouteBuilder to use in this configuration |
List<org.apache.camel.builder.RouteBuilder> |
routes()
Returns the list of routes to use in this configuration.
|
camelBeanPostProcessor, camelContext, consumerTemplate, createCamelContext, getApplicationContext, getBean, getBean, getBean, getBeanFactory, getConfigured, producerTemplate, setApplicationContext, setBeanFactory, setupCamelContext@Bean public List<org.apache.camel.builder.RouteBuilder> routes()
CamelConfigurationRouteBuilder instances available in the
ApplicationContext.routes in class CamelConfigurationpublic abstract org.apache.camel.builder.RouteBuilder route()
RouteBuilder to use in this configurationApache Camel