Class JavaScriptDslProcessor
java.lang.Object
org.apache.camel.quarkus.dsl.js.runtime.JavaScriptDslProcessor
- All Implemented Interfaces:
org.apache.camel.Processor
JavaScriptDslProcessor is meant to be used as type of Processor from a JavaScript file to remain
compatible
with the native mode that doesn't support the function Java.extend.-
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptDslProcessor(CharSequence source) Construct aJavaScriptDslProcessorwith the given source andexchangeas argument name.JavaScriptDslProcessor(String argumentName, CharSequence source) Construct aJavaScriptDslProcessorwith the given source and argument name. -
Method Summary
-
Constructor Details
-
JavaScriptDslProcessor
Construct aJavaScriptDslProcessorwith the given source andexchangeas argument name.- Parameters:
source- the source of the processor.
-
JavaScriptDslProcessor
Construct aJavaScriptDslProcessorwith the given source and argument name.- Parameters:
source- the source of the processor.
-
-
Method Details
-
process
public void process(org.apache.camel.Exchange exchange) - Specified by:
processin interfaceorg.apache.camel.Processor
-