Package org.alfresco.messaging.camel
Class SpringContextRouteLoader
java.lang.Object
org.alfresco.messaging.camel.SpringContextRouteLoader
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class SpringContextRouteLoader
extends Object
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Injects a specified route context into a specified Camel context
- Author:
- Ray Gauss II
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetCamelContextId(String camelContextId) voidsetRouteContextId(String routeContextId)
-
Constructor Details
-
SpringContextRouteLoader
public SpringContextRouteLoader()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
setCamelContextId
-
setRouteContextId
-
addRoutesToCamelContext
- Throws:
Exception
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-