-
1. Re: Error with relative path resolution with file prefix in camel
davsclaus Aug 28, 2010 9:46 AM (in response to divakar)You are using windows and it doesn't understand /C. So you should only use to slashes:
xslt:file://C:\myfolder\myfile.xslt
You may also be able to omit the 2 / slashes (despite it being standard)
xslt:file:C:\myfolder\myfile.xslt
-
2. Re: Error with relative path resolution with file prefix in camel
divakar Aug 29, 2010 6:51 AM (in response to davsclaus)It did not work, I get the endpoint not found exception.
org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route route18 at: >>> To[ref:XSL_XXXRequest] <<< in route: Route[[From[nmr:OutboundMssRequest]] -> [SetHeader[com.vzb.r... because of org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'XSL_MssRequest': FactoryBean threw exception on object creation; nested exception is org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: xslt://file://C:/examples/Incident-XXXRequestMessage.xsl due to: Connection timed out: connect
at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1126)[68:org.apache.camel.camel-core:2.4.0.fuse-00-00]
Edited by: divakar on Aug 29, 2010 10:50 AM
Edited by: divakar on Aug 29, 2010 10:51 AM
-
3. Re: Error with relative path resolution with file prefix in camel
davsclaus Aug 29, 2010 8:51 AM (in response to divakar)Can you post the full stacktrace?
-
4. Re: Error with relative path resolution with file prefix in camel
divakar Aug 31, 2010 2:23 AM (in response to davsclaus)Thanks,
We resolved this by writing a custom URIResolver