Class ResolverHelper


  • public final class ResolverHelper
    extends Object
    Some helper methods for new resolvers (like ComponentResolver, DataFormatResolver, etc.).
    • Method Detail

      • lookupComponentInRegistryWithFallback

        public static org.apache.camel.Component lookupComponentInRegistryWithFallback​(org.apache.camel.CamelContext context,
                                                                                       String name)
      • lookupComponentInRegistryWithFallback

        public static org.apache.camel.Component lookupComponentInRegistryWithFallback​(org.apache.camel.CamelContext context,
                                                                                       String name,
                                                                                       ResolverHelper.LookupExceptionHandler exceptionHandler)
      • lookupDataFormatInRegistryWithFallback

        public static org.apache.camel.spi.DataFormat lookupDataFormatInRegistryWithFallback​(org.apache.camel.CamelContext context,
                                                                                             String name)
      • lookupDataFormatInRegistryWithFallback

        public static org.apache.camel.spi.DataFormat lookupDataFormatInRegistryWithFallback​(org.apache.camel.CamelContext context,
                                                                                             String name,
                                                                                             ResolverHelper.LookupExceptionHandler exceptionHandler)
      • lookupDataFormatFactoryInRegistryWithFallback

        public static org.apache.camel.spi.DataFormatFactory lookupDataFormatFactoryInRegistryWithFallback​(org.apache.camel.CamelContext context,
                                                                                                           String name)
      • lookupDataFormatFactoryInRegistryWithFallback

        public static org.apache.camel.spi.DataFormatFactory lookupDataFormatFactoryInRegistryWithFallback​(org.apache.camel.CamelContext context,
                                                                                                           String name,
                                                                                                           ResolverHelper.LookupExceptionHandler exceptionHandler)
      • lookupLanguageInRegistryWithFallback

        public static org.apache.camel.spi.Language lookupLanguageInRegistryWithFallback​(org.apache.camel.CamelContext context,
                                                                                         String name)
      • lookupLanguageInRegistryWithFallback

        public static org.apache.camel.spi.Language lookupLanguageInRegistryWithFallback​(org.apache.camel.CamelContext context,
                                                                                         String name,
                                                                                         ResolverHelper.LookupExceptionHandler exceptionHandler)