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 -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionorg.apache.camel.support.language.NamespacePrefix[]Class<?> 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<?> 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:
""
-