Package org.apache.camel.spi
Interface ModelineFactory
public interface ModelineFactory
Factory for parsing camel-k modeline when running Camel standalone with DSLs.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
parseModeline
(Resource resource) Parses the resources to discover camel-k modeline snippets which is parsed and processed.
-
Field Details
-
FACTORY
Service factory key.- See Also:
-
-
Method Details
-
parseModeline
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
-