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
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The desired return type.
    Source to use, instead of message body.
  • Element Details

    • value

      String value
    • resultType

      Class<?> resultType
      The desired return type.
      Default:
      java.lang.Object.class
    • source

      String source
      Source 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:
      ""