Package org.apache.camel.support
Class ResolverHelper
- java.lang.Object
-
- org.apache.camel.support.ResolverHelper
-
public final class ResolverHelper extends Object
Some helper methods for new resolvers (likeComponentResolver
,DataFormatResolver
, etc.).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResolverHelper.LookupExceptionHandler
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FALLBACK_SUFFIX
static String
DATA_FORMAT_FACTORY_FALLBACK_SUFFIX
static String
DATA_FORMAT_FALLBACK_SUFFIX
static String
LANGUAGE_FALLBACK_SUFFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.camel.Component
lookupComponentInRegistryWithFallback(org.apache.camel.CamelContext context, String name)
static org.apache.camel.Component
lookupComponentInRegistryWithFallback(org.apache.camel.CamelContext context, String name, ResolverHelper.LookupExceptionHandler exceptionHandler)
static org.apache.camel.spi.DataFormatFactory
lookupDataFormatFactoryInRegistryWithFallback(org.apache.camel.CamelContext context, String name)
static org.apache.camel.spi.DataFormatFactory
lookupDataFormatFactoryInRegistryWithFallback(org.apache.camel.CamelContext context, String name, ResolverHelper.LookupExceptionHandler exceptionHandler)
static org.apache.camel.spi.DataFormat
lookupDataFormatInRegistryWithFallback(org.apache.camel.CamelContext context, String name)
static org.apache.camel.spi.DataFormat
lookupDataFormatInRegistryWithFallback(org.apache.camel.CamelContext context, String name, ResolverHelper.LookupExceptionHandler exceptionHandler)
static org.apache.camel.spi.Language
lookupLanguageInRegistryWithFallback(org.apache.camel.CamelContext context, String name)
static org.apache.camel.spi.Language
lookupLanguageInRegistryWithFallback(org.apache.camel.CamelContext context, String name, ResolverHelper.LookupExceptionHandler exceptionHandler)
-
-
-
Field Detail
-
COMPONENT_FALLBACK_SUFFIX
public static final String COMPONENT_FALLBACK_SUFFIX
- See Also:
- Constant Field Values
-
DATA_FORMAT_FALLBACK_SUFFIX
public static final String DATA_FORMAT_FALLBACK_SUFFIX
- See Also:
- Constant Field Values
-
DATA_FORMAT_FACTORY_FALLBACK_SUFFIX
public static final String DATA_FORMAT_FACTORY_FALLBACK_SUFFIX
- See Also:
- Constant Field Values
-
LANGUAGE_FALLBACK_SUFFIX
public static final String LANGUAGE_FALLBACK_SUFFIX
- See Also:
- Constant Field Values
-
-
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)
-
-