Package org.apache.camel.language.jq
Annotation Interface Jq
@Retention(RUNTIME)
@Documented
@Target({FIELD,METHOD,PARAMETER})
@LanguageAnnotation(language="jq",
factory=JqAnnotationExpressionFactory.class)
public @interface Jq
An annotation used to inject a JQ expression into a method parameter when using Bean Integration.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?> The desired return type.Source to use, instead of message body.
-
Element Details
-
value
String value -
resultType
Class<?> resultTypeThe desired return type.- Default:
java.lang.Object.class
-
source
String sourceSource to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body.- Default:
""
-