Annotation Interface XQuery


@Retention(RUNTIME) @Documented @Target({FIELD,METHOD,PARAMETER}) @LanguageAnnotation(language="xquery", factory=XQueryAnnotationExpressionFactory.class) public @interface XQuery
An annotation for injection of an XQuery expressions into a field, property, method or 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
    org.apache.camel.support.language.NamespacePrefix[]
     
    The desired return type.
    Source to use, instead of message body.
    boolean
     
  • Element Details

    • value

      String value
    • stripsAllWhiteSpace

      boolean stripsAllWhiteSpace
      Default:
      true
    • namespaces

      org.apache.camel.support.language.NamespacePrefix[] namespaces
      Default:
      {@org.apache.camel.support.language.NamespacePrefix(prefix="soap", uri="http://www.w3.org/2003/05/soap-envelope"), @org.apache.camel.support.language.NamespacePrefix(prefix="xsd", uri="http://www.w3.org/2001/XMLSchema")}
    • 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:
      ""