Package org.apache.camel.k.support
Class Sources
java.lang.Object
org.apache.camel.k.support.Sources
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.camel.spi.Resource
asResource
(org.apache.camel.CamelContext camelContext, Source source) static SourceDefinition
static Source
static Source
static SourceDefinition
fromBytes
(String id, String name, String language, String loader, List<String> interceptors, byte[] content) static Source
static Source
fromDefinition
(SourceDefinition definition) static Source