Class ContextScanRouteBuilderFinder

java.lang.Object
org.apache.camel.spring.xml.ContextScanRouteBuilderFinder

A helper class which will find all RouteBuilder instances on the Spring ApplicationContext.
  • Constructor Details

    • ContextScanRouteBuilderFinder

      public ContextScanRouteBuilderFinder(org.apache.camel.spring.SpringCamelContext camelContext, org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons)
  • Method Details

    • appendBuilders

      public void appendBuilders(List<org.apache.camel.RoutesBuilder> list)
      Appends all the RouteBuilder instances that can be found in the context
    • shouldIgnoreBean

      protected boolean shouldIgnoreBean(Object bean)
      Whether or not to ignore the bean
      Parameters:
      bean - the bean to be checked if should be ignored or not
      Returns:
    • isFilteredClass

      protected boolean isFilteredClass(Object bean)