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 Details

    • SpringContextRouteLoader

      public SpringContextRouteLoader()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • setCamelContextId

      public void setCamelContextId(String camelContextId)
    • setRouteContextId

      public void setRouteContextId(String routeContextId)
    • addRoutesToCamelContext

      public void addRoutesToCamelContext() throws Exception
      Throws:
      Exception
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception