org.apache.camel.spring.javaconfig
Class SingleRouteCamelConfiguration
java.lang.Object
org.apache.camel.spring.javaconfig.CamelConfiguration
org.apache.camel.spring.javaconfig.SingleRouteCamelConfiguration
- All Implemented Interfaces:
- BeanFactoryAware, ApplicationContextAware
public abstract class SingleRouteCamelConfiguration
- extends CamelConfiguration
A useful base class for writing
Spring JavaConfig
configurations to configure a CamelContext with a single RouteBuilder instance
- Version:
- $Revision: 893852 $
| Methods inherited from class org.apache.camel.spring.javaconfig.CamelConfiguration |
camelBeanPostProcessor, camelContext, createCamelContext, getApplicationContext, getBean, getBean, getBean, getBeanFactory, getConfigured, setApplicationContext, setBeanFactory, setupCamelContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleRouteCamelConfiguration
public SingleRouteCamelConfiguration()
routes
@Bean
public List<RouteBuilder> routes()
- Description copied from class:
CamelConfiguration
- Returns the list of routes to use in this configuration
- Specified by:
routes in class CamelConfiguration
route
public abstract RouteBuilder route()
- Creates the single
RouteBuilder to use in this configuration
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.