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.

Reply via email to