JBoss 5.1.0 -> 6.0.0.Final (Camel Issues)

2011-01-22 Thread Phobos
Hi, I have a project packaged into an EAR that contains multiple EJB modules and a WAR module that utilises Camel 2.5.0 (configured via Spring with correct config of jbossResolver etc). The project works perfectly when the EAR is deployed into JBoss 5.1.0 but doesn't quite work at all when deplo

Camel XQuery - Saxon

2013-03-04 Thread Phobos
Hi, Saxon allows for java methods to invoke from XQuery, for example; declare namespace math=java:java.lang.Math; let $r := math:random() return $r It would appear that this doesn't work out of the box in the Camel implementation. Does anyone know how to enable this? Thanks -- View this m

Re: Camel XQuery - Saxon

2013-03-05 Thread Phobos
Hi, Stack trace is as follows, i'm putting together a test case now; org.apache.camel.RuntimeExpressionException: net.sf.saxon.trans.XPathException: Prefix math has not been declared at org.apache.camel.component.xquery.XQueryBuilder.evaluate(XQueryBuilder.java:144) at org.apache

Re: Camel XQuery - Saxon

2013-03-05 Thread Phobos
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"

Re: Camel XQuery - Saxon

2013-03-06 Thread Phobos
Hi, I've tried the following; Define myNamespaces in the context as a spring bean; Route; > from("direct:transform-queue"). > to("xquery:transform.xqy?namespaces=#myNamespaces"). > to("l