On 27/11/2007, Przemyslaw Budzik <[EMAIL PROTECTED]> wrote:
> James, it was problem not with camel-servicemix integration, but with xslt
> endpoint. It seems XSLT component has problems with finding xsl file. If I
> removed that endpoint it would work. The question is then - if we have
> endpoint like this "xslt:file_name" where it is supposed to be located? I
> mean in that scenario.

The XSLT component uses the Spring Resource handling. So by default it
looks on the classpath unless you specify a file or HTTP based URL.

e.g. if you want to use the file system use

xslt:file://foo/bar.xsl

otherwise

xslt:foo.xsl

will use the classpath. See the Spring documentation...
http://static.springframework.org/spring/docs/1.2.x/api/org/springframework/core/io/DefaultResourceLoader.html

I've updated the wiki document to make this a bit more clear
http://cwiki.apache.org/CAMEL/xslt.html

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to