Hi Ah freemarker has the way of looking for a resource with locale first, and then fallback to without. Eg this is how you can have locale dependent templates.
Wonder if there is a way to force disabling this? Can you try look at the freemarker docs about this? On Mon, Aug 26, 2013 at 11:19 AM, Ernest Lu <syf...@sina.com> wrote: > hi, > I’m trying to use freemarker component with the following URI: > freemarker://http://127.0.0.1:8080/test/test.txt > However,freemarker throws a java.io.FileNotFoundException: > http://127.0.0.1:8080/test/test_zh_CN.txt. > Why is not the same as the URI in the Exception and the original URI. > I succeed in using StringTemplate component and Velocity component with the > same URI. > My Camel version is 2.10.4. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/freemarker-component-tp5737943.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen