org.apache.camel.component.xquery
Annotation Type XQuery
@Retention(value=RUNTIME)
@Documented
@Target(value={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.
- Version:
value
public abstract String value
stripsAllWhiteSpace
public abstract boolean stripsAllWhiteSpace
- Default:
- true
namespaces
public abstract org.apache.camel.language.NamespacePrefix[] namespaces
- Default:
- {@org.apache.camel.language.NamespacePrefix(prefix="soap", uri="http://www.w3.org/2003/05/soap-envelope"), @org.apache.camel.language.NamespacePrefix(prefix="xsd", uri="http://www.w3.org/2001/XMLSchema")}
headerName
public abstract String headerName
- Returns:
- The name of the header we want to apply the Xquery expression to.
If this is empty then the Xquery expression will be applied to the body instead.
- Default:
- ""
Apache Camel