public interface CatalogCamelContext extends CamelContext
CamelContext
Modifier and Type | Method and Description |
---|---|
String |
createRouteStaticEndpointJson(String routeId)
Creates a JSON representation of all the static and dynamic configured endpoints defined in the given route(s).
|
String |
createRouteStaticEndpointJson(String routeId,
boolean includeDynamic)
Creates a JSON representation of all the static (and possible dynamic) configured endpoints defined in the given route(s).
|
String |
explainComponentJson(String componentName,
boolean includeAllOptions)
Returns a JSON schema representation of the component parameters (not endpoint parameters) for the given component by its id.
|
String |
explainDataFormatJson(String dataFormatName,
DataFormat dataFormat,
boolean includeAllOptions)
Returns a JSON schema representation of the component parameters (not endpoint parameters) for the given component by its id.
|
String |
explainEipJson(String nameOrId,
boolean includeAllOptions)
Returns a JSON schema representation of the EIP parameters for the given EIP by its id.
|
String |
explainEndpointJson(String uri,
boolean includeAllOptions)
Returns a JSON schema representation of the endpoint parameters for the given endpoint uri.
|
Map<String,Properties> |
findComponents()
Find information about all the Camel components available in the classpath and
Registry . |
Map<String,Properties> |
findEips()
Find information about all the EIPs from camel-core.
|
String |
getComponentParameterJsonSchema(String componentName)
Returns the JSON schema representation of the component and endpoint parameters for the given component name.
|
String |
getDataFormatParameterJsonSchema(String dataFormatName)
Returns the JSON schema representation of the
DataFormat parameters for the given data format name. |
String |
getEipParameterJsonSchema(String eipName)
Returns the JSON schema representation of the EIP parameters for the given EIP name.
|
String |
getLanguageParameterJsonSchema(String languageName)
Returns the JSON schema representation of the
Language parameters for the given language name. |
String |
resolveComponentDefaultName(String javaType)
Resolves a component's default name from its java type.
|
adapt, addComponent, addEndpoint, addInterceptStrategy, addLifecycleStrategy, addLogListener, addRegisterEndpointCallback, addRestConfiguration, addRoutePolicyFactory, addRoutes, addService, addService, addService, addStartupListener, createConsumerTemplate, createConsumerTemplate, createDataFormat, createFluentProducerTemplate, createFluentProducerTemplate, createMulticast, createProducerTemplate, createProducerTemplate, deferStartService, disableJMX, getApplicationContextClassLoader, getAsyncProcessorAwaitManager, getBeanPostProcessor, getClassResolver, getComponent, getComponent, getComponent, getComponent, getComponentNames, getDataFormatResolver, getDebugger, getDefaultFactoryFinder, getEndpoint, getEndpoint, getEndpointMap, getEndpointRegistry, getEndpoints, getErrorHandlerExecutorService, getErrorHandlerFactory, getExecutorServiceManager, getExtension, getFactoryFinder, getGlobalOption, getGlobalOptions, getHeadersMapFactory, getInflightRepository, getInjector, getInterceptStrategies, getLanguageNames, getLifecycleStrategies, getLogListeners, getManagementMBeanAssembler, getManagementName, getManagementNameStrategy, getManagementStrategy, getMessageHistoryFactory, getModelJAXBContextFactory, getName, getNameStrategy, getNodeIdFactory, getPackageScanClassResolver, getProcessor, getProcessor, getProcessorFactory, getPropertiesComponent, getPropertiesComponent, getPropertyPrefixToken, getPropertySuffixToken, getRegistry, getRegistry, getReloadStrategy, getRestConfiguration, getRestConfiguration, getRestConfigurations, getRestRegistry, getRoute, getRouteController, getRoutePolicyFactories, getRoutes, getRouteStartupOrder, getRuntimeEndpointRegistry, getShutdownStrategy, getSSLContextParameters, getStatus, getStreamCachingStrategy, getTransformerRegistry, getTypeConverter, getTypeConverterRegistry, getUnitOfWorkFactory, getUptime, getUptimeMillis, getUuidGenerator, getValidatorRegistry, getVersion, hasComponent, hasEndpoint, hasService, hasService, hasServices, isLoadTypeConverters, isSetupRoutes, isTypeConverterStatisticsEnabled, isUseBreadcrumb, isUseDataType, isUseMDCLogging, isVetoStarted, removeComponent, removeEndpoint, removeEndpoints, removeRoute, removeService, resolveDataFormat, resolveLanguage, resolvePropertyPlaceholders, resolveTransformer, resolveTransformer, resolveValidator, setApplicationContextClassLoader, setAsyncProcessorAwaitManager, setClassResolver, setDataFormatResolver, setDebugger, setErrorHandlerFactory, setExecutorServiceManager, setExtension, setFactoryFinderResolver, setGlobalOptions, setHeadersMapFactory, setInflightRepository, setLoadTypeConverters, setManagementName, setManagementNameStrategy, setManagementStrategy, setMessageHistoryFactory, setModelJAXBContextFactory, setNameStrategy, setNodeIdFactory, setPackageScanClassResolver, setProcessorFactory, setReloadStrategy, setRestConfiguration, setRestRegistry, setRouteController, setRuntimeEndpointRegistry, setShutdownStrategy, setSSLContextParameters, setStreamCachingStrategy, setTypeConverterRegistry, setTypeConverterStatisticsEnabled, setUnitOfWorkFactory, setupManagement, setupRoutes, setUseBreadcrumb, setUseDataType, setUseMDCLogging, setUuidGenerator, start, stop
isSuspended, resume, suspend
getDelayer, getShutdownRoute, getShutdownRunningTask, isAllowUseOriginalMessage, isAutoStartup, isHandleFault, isLogExhaustedMessageBody, isLogMask, isMessageHistory, isStreamCaching, isTracing, setAllowUseOriginalMessage, setAutoStartup, setDelayer, setHandleFault, setLogExhaustedMessageBody, setLogMask, setMessageHistory, setShutdownRoute, setShutdownRunningTask, setStreamCaching, setTracing
String resolveComponentDefaultName(String javaType)
javaType
- the FQN name of the java typeMap<String,Properties> findComponents() throws LoadPropertiesException, IOException
Registry
.LoadPropertiesException
- is thrown if error during classpath discovery of the componentsIOException
- is thrown if error during classpath discovery of the componentsMap<String,Properties> findEips() throws LoadPropertiesException, IOException
LoadPropertiesException
- is thrown if error during classpath discovery of the EIPsIOException
- is thrown if error during classpath discovery of the EIPsString getComponentParameterJsonSchema(String componentName) throws IOException
IOException
String getDataFormatParameterJsonSchema(String dataFormatName) throws IOException
DataFormat
parameters for the given data format name.IOException
String getLanguageParameterJsonSchema(String languageName) throws IOException
Language
parameters for the given language name.IOException
String getEipParameterJsonSchema(String eipName) throws IOException
IOException
String explainEipJson(String nameOrId, boolean includeAllOptions)
nameOrId
- the name of the EIP (NamedNode.getShortName()
or a node id to refer to a specific node from the routes.includeAllOptions
- whether to include non configured options also (eg default options)String explainComponentJson(String componentName, boolean includeAllOptions)
componentName
- the name of the component.includeAllOptions
- whether to include non configured options also (eg default options)String explainDataFormatJson(String dataFormatName, DataFormat dataFormat, boolean includeAllOptions)
dataFormat
- the data format instance.includeAllOptions
- whether to include non configured options also (eg default options)String explainEndpointJson(String uri, boolean includeAllOptions)
uri
- the endpoint uriincludeAllOptions
- whether to include non configured options also (eg default options)String createRouteStaticEndpointJson(String routeId)
routeId
- for a particular route, or null for all routesString createRouteStaticEndpointJson(String routeId, boolean includeDynamic)
routeId
- for a particular route, or null for all routesincludeDynamic
- whether to include dynamic endpointsApache Camel