On Thu, Jul 28, 2011 at 7:04 PM, jmandawg <[email protected]> wrote:
> Hi all,
>
> I'm trying to use an XQuery endpoint which looks like this:
>
> <camel:to uri="xquery:com/test/xquery/manual.xq"/>
>
> Where "com/test/xquery/manual.xq" is located in my "src/main/resources"
> folder.
>
> When i try to put an import inside the manual.xq file like this:
>
> import module namespace utils = "myutils" at "utils.xq";
>
> It cannot resolve the file.  If i give it a absolute uri to the file it can
> resolve it.  But the files need to live in my package.
>
> I'm running this inside servicemix.

What version of Camel and SMX are you using?

Does it work if you run it outside servicemix, such as from a plain junit test?


>
> Thanks.
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Xquery-endpoing-with-Import-Module-tp4643385p4643385.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to