Hi

The file component cannot load from the classpath, it loads from the
regular file system.


On Mon, May 11, 2015 at 12:53 PM, chaituu <[email protected]> wrote:
> I have deployed the war file in the tomcat .
> camel-config.xml file is deployed in the WEB-INF/classes folder i.e class
> path and test.xml also in the class path.
>
> how to mention class path in file consumer route without mentioning absolute
> path.
>
>
> <route id="1">
>       <from uri="file:./classpath?noop=true&amp;fileName=test.xml"/>
>           <unmarshal ref="myJaxb"/>
>       <process ref="xmlprocess"/>
>     </route>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/how-to-mention-tomcat-web-classes-class-path-in-file-consumer-route-tp5766969.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to