Interface ModelineFactory


public interface ModelineFactory
Factory for parsing camel-k modeline when running Camel standalone with DSLs.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Service factory key.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Parses the resources to discover camel-k modeline snippets which is parsed and processed.
  • Field Details

  • Method Details

    • parseModeline

      void parseModeline(Resource resource) throws Exception
      Parses the resources to discover camel-k modeline snippets which is parsed and processed.
      Parameters:
      resource - the resource with Camel routes such as a yaml, xml or java source file.
      Throws:
      Exception - is thrown if error parsing