You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/12/12 09:11:00 UTC
[jira] [Commented] (CAMEL-12994) xquery syntax problem in SpringDSL
[ https://issues.apache.org/jira/browse/CAMEL-12994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16718658#comment-16718658 ]
Claus Ibsen commented on CAMEL-12994:
-------------------------------------
Try with
{code}
<xquery type="String">resource:classpath:myxquery.txt</xquery>
{code}
> xquery syntax problem in SpringDSL
> ----------------------------------
>
> Key: CAMEL-12994
> URL: https://issues.apache.org/jira/browse/CAMEL-12994
> Project: Camel
> Issue Type: Bug
> Components: camel-saxon
> Affects Versions: 2.21.0, 2.22.0
> Reporter: W.Y
> Priority: Critical
>
> this JAVADSL sytnax does not exist / supported in SpringDSL
> setHeader("myHeader").xquery("resource:classpath:myxquery.txt", String.class)
> It will cause the problem if return type is String instead of DomReulst or xmlString for xquery, when we use SpringDSL instead of JAVADSL
> we tried all version >= 2.22, same problem
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)