Jin, Is the file in a different bundle? You have to add your resource bundle as a dependency.
Hadrian On Thursday 03 April 2014 01:07:53 chaij wrote: > Is possible to read file using Camel from classpath? This file lives in the > bundle. > > I have a xml file and want to read it in using file component and then > convert it to Document. > > Thanks! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/read-file-from-classpath-tp5749705.html > Sent from the Camel - Users mailing list archive at Nabble.com. >