In theory, there should be nothing to configure at the Camel level if you 
declare the namespace in the Prolog of the template. The XQuery template should 
be self-sufficient and independent from the runtime.

Have you tried placing the namespace URI inside quote marks? I think you're 
just missing those. Try:

declare namespace math="java:java.lang.Math";

Regards,
Raúl.

On Mar 5, 2013, at 23:18, Phobos wrote:

> 
> In principle that would appear to work as a filter, however in this instance
> I am using the XQuery template as a transformer endpoint. For example;
> 
>       from("direct:transform-queue").
>               to("xquery:transform.xqy").
>               to("log:com.mydomain.TransformerRoute?level=INFO");
> 
> Is there a way to inject custom namespaces into the above example (as an
> endpoint)?
> 
> Thanks
> 
> 
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-XQuery-Saxon-tp5728490p5728604.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to