[ https://issues.apache.org/jira/browse/CAMEL-12994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722946#comment-16722946 ]
Claus Ibsen commented on CAMEL-12994: ------------------------------------- Okay found the issue in camel-saxon and have it fixed now. {code} 2018-12-17 13:38:14.213 INFO 13698 --- [le://input/data] Route1 : #### Body Before XQ Execution : #### <?xml version="1.0" encoding="UTF-8"?> <Envelope> <Header/> <Body> <getEmployee> <EmpId>123</EmpId> </getEmployee> </Body> </Envelope> 2018-12-17 13:38:14.510 INFO 13698 --- [le://input/data] Route1 : #### Body After XQ Execution : #### 123TestConcat {code} You need to set the result type to String in the XML DSL {code} <transform> <xquery type="String">concat(/Envelope/Body/getEmployee/EmpId/text(),"TestConcat")</xquery> </transform> {code} > xquery syntax problem in SpringDSL with spring-boot > --------------------------------------------------- > > 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 > Assignee: Claus Ibsen > Priority: Minor > Attachments: XqueryTest.zip > > > 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)