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 Constructor Description SpringContextRouteLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRoutesToCamelContext()voidafterPropertiesSet()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetCamelContextId(String camelContextId)voidsetRouteContextId(String routeContextId)
-
-
-
Method Detail
-
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
public void setCamelContextId(String camelContextId)
-
setRouteContextId
public void setRouteContextId(String routeContextId)
-
-