Interface CatalogCamelContext

All Superinterfaces:
AutoCloseable, CamelContext, CamelContextLifecycle, RuntimeConfiguration

public interface CatalogCamelContext extends CamelContext
Catalog-level extension of CamelContext that exposes the JSON schema metadata Camel publishes for the Components, DataFormats, Languages and EIPs available at runtime.

The catalog data is the same information surfaced by the Camel Catalog tooling and is used by Camel CLI, IDE plugins, Karaf shell commands and the management/console layer to inspect what is loaded in a running application.

Since:
3.0
See Also:
  • Method Details

    • getComponentParameterJsonSchema

      @Nullable String getComponentParameterJsonSchema(String componentName) throws IOException
      Returns the JSON schema representation of the component and endpoint parameters for the given component name.
      Returns:
      the JSON or null if the component is not built with JSON schema support
      Throws:
      IOException
    • getDataFormatParameterJsonSchema

      @Nullable String getDataFormatParameterJsonSchema(String dataFormatName) throws IOException
      Returns the JSON schema representation of the DataFormat parameters for the given data format name.
      Returns:
      the JSON or null if the data format does not exist
      Throws:
      IOException
    • getLanguageParameterJsonSchema

      @Nullable String getLanguageParameterJsonSchema(String languageName) throws IOException
      Returns the JSON schema representation of the Language parameters for the given language name.
      Returns:
      the JSON or null if the language does not exist
      Throws:
      IOException
    • getTransformerParameterJsonSchema

      @Nullable String getTransformerParameterJsonSchema(String transformerName) throws IOException
      Returns the JSON schema representation of the DataTypeTransformer parameters for the given transformer name.
      Returns:
      the JSON or null if the transformer does not exist
      Throws:
      IOException
    • getDevConsoleParameterJsonSchema

      @Nullable String getDevConsoleParameterJsonSchema(String devConsoleName) throws IOException
      Returns the JSON schema representation of the DevConsole parameters for the given dev-console name.
      Returns:
      the JSON or null if the dev-console does not exist
      Throws:
      IOException
    • getEipParameterJsonSchema

      @Nullable String getEipParameterJsonSchema(String eipName) throws IOException
      Returns the JSON schema representation of the EIP parameters for the given EIP name.
      Returns:
      the JSON or null if the EIP does not exist
      Throws:
      IOException
    • getPojoBeanParameterJsonSchema

      @Nullable String getPojoBeanParameterJsonSchema(String name) throws IOException
      Returns the JSON schema representation of the pojo bean parameters for the given bean name.
      Returns:
      the JSON or null if the pojo bean does not exist
      Throws:
      IOException