org.apache.camel.spring.javaconfig
Class CamelConfiguration
java.lang.Object
org.springframework.config.java.support.ConfigurationSupport
org.apache.camel.spring.javaconfig.CamelConfiguration
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
- SingleRouteCamelConfiguration
@Configuration
public abstract class CamelConfiguration
- extends org.springframework.config.java.support.ConfigurationSupport
A useful base class for writing
Spring JavaConfig
configurations for working with Camel
- Version:
- $Revision: 758543 $
| Methods inherited from class org.springframework.config.java.support.ConfigurationSupport |
getApplicationContext, getBean, getBean, getBean, getBeanFactory, getConfigured, getObject, getObject, setApplicationContext, setBeanFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelConfiguration
public CamelConfiguration()
camelBeanPostProcessor
@Bean
public CamelBeanPostProcessor camelBeanPostProcessor()
throws Exception
- Throws:
Exception
camelContext
@Bean
public CamelContext camelContext()
throws Exception
- Returns the CamelContext
- Throws:
Exception
setupCamelContext
public void setupCamelContext(CamelContext camelContext)
throws Exception
- Throws:
Exception
routes
public abstract List<RouteBuilder> routes()
- Returns the list of routes to use in this configuration
Copyright © 2009 Apache Software Foundation. All Rights Reserved.