Annotation Type 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.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringheaderNameorg.apache.camel.support.language.NamespacePrefix[]namespacesStringpropertyNameClass<?>resultTypeThe desired return type.booleanstripsAllWhiteSpace
-
-
-
Element Detail
-
value
String value
-
-
-
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
-
-
-
headerName
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 value of the exchange property or the body instead.
- Default:
- ""
-
-
-
propertyName
String propertyName
- Returns:
- The name of the property we want to apply the XQuery expression to. If this is empty then the Xquery expression will be applied to the body instead.
- Default:
- ""
-
-