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
, 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
hi Claus
thanks for your reply
I succeed in solving the problem using the way of setting the URI like
this:
freemarker://http://127.0.0.1:8080/test/test.txt?configuration.locale=null;
--
View this message in context:
http://camel.465427.n5.nabble.com/freemarker-component
. Maybe there is
something there we can do to workaround the issue.
On Wed, Apr 20, 2011 at 5:04 PM, Sorin Silaghi sorin7...@gmail.com wrote:
Hi all,
I'm using camel inside servicemix to process some files and I can't
get the freemarker component to work propperly with XML content
camel inside servicemix to process some files and I can't
get the freemarker component to work propperly with XML content. Here's
what
I did:
I created a processor to convert the body of the exchange message
from String to NodeModel. If I then use freemarker right in the processor
get the freemarker component to work propperly with XML content. Here's
what
I did:
I created a processor to convert the body of the exchange message
from String to NodeModel. If I then use freemarker right in the
processor to
apply the template it all works fine. But if I pass
Hi Claus,
Seems I found the solution to this problem: it was because of
the difference in freemarker version between my processor and the
camel-freemarker component. That change from 2.3.15 to 2.3.16 caused it.
thanks for the help,
Sorin.
On Thu
in freemarker version between my processor and the
camel-freemarker component. That change from 2.3.15 to 2.3.16 caused it.
thanks for the help,
Sorin.
On Thu, Apr 21, 2011 at 11:44 AM, Claus Ibsen claus.ib...@gmail.com
wrote:
Hi
You get a NPE
Oops, sorry I hadn't read the entire thread, understood the issue already.
ServiceMix 4.4 will have 2.3.16 instead. Thanks.
Em 21/04/2011 14:31, Fernando Ribeiro webmas...@fernandoribeiro.eti.br
escreveu:
Do you mean you had to downgrade in your app? FreeMarker is going to be
updated to 2.3.16
Hi all,
I'm using camel inside servicemix to process some files and I can't
get the freemarker component to work propperly with XML content. Here's what
I did:
I created a processor to convert the body of the exchange message
from String to NodeModel. If I then use freemarker
10 matches
Mail list logo