public abstract class SingleRouteCamelConfiguration extends CamelConfiguration
CamelContext
with a single
RouteBuilder
instance.Constructor and Description |
---|
SingleRouteCamelConfiguration() |
Modifier and Type | Method and Description |
---|---|
abstract RouteBuilder |
route()
Creates the single
RouteBuilder to use in this configuration |
List<RouteBuilder> |
routes()
Returns the list of routes to use in this configuration.
|
camelBeanPostProcessor, camelContext, createCamelContext, getApplicationContext, getBean, getBean, getBean, getBeanFactory, getConfigured, setApplicationContext, setBeanFactory, setupCamelContext
@Bean public List<RouteBuilder> routes()
CamelConfiguration
RouteBuilder
instances available in the
ApplicationContext
.routes
in class CamelConfiguration
public abstract RouteBuilder route()
RouteBuilder
to use in this configurationCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.