You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by jamesburn <Ja...@oup.com> on 2016/05/25 15:03:52 UTC
Schematron files accessed over http
Hi
I'm trying to implement a camel route TO a schematron file which I have
hosted on our (local) http server.
I've got the line:
<to uri="schematron://http://oup.com/Ref/Schematron/BasicSchematron.sch"/>
however, I get error:
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
resolve endpoint:
schematron://http://oup.com/Ref/Schematron/BasicSchematron.sch due to: File
'http:/oup.com/Ref/Schematron/BasicSchematron.sch' does not exist
I see on http://camel.apache.org/schematron.html
<http://camel.apache.org/schematron.html> that path can be either file
system or class path, but is it possible to access a schematron file with
Camel over http? I tried various options in the <to> but to no avail.
If not possible this would be a very useful addition. All our schema for
camel validator are accessed over http.
Thanks
James
--
View this message in context: http://camel.465427.n5.nabble.com/Schematron-files-accessed-over-http-tp5783076.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Schematron files accessed over http
Posted by "ayache.k" <ay...@gmail.com>.
Hi James
Unfortunately, the current implementation of Camel Schemaron only supports
classpath and filesystem location for the rules. Create A Jira ticket and I
am sure someone would look at.
Thanks
--
View this message in context: http://camel.465427.n5.nabble.com/Schematron-files-accessed-over-http-tp5783076p5784750.html
Sent from the Camel - Users mailing list archive at Nabble.com.