camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Piggott <cpigg...@gmail.com>
Subject Proper way to use velocity formatters like NumberTool
Date Sun, 16 Feb 2014 18:03:19 GMT
Hi,

What's the proper way to use formatters in a camel-velocity template if you
are NOT using injection (e.g. spring or guice)?  I have seem a few examples
including one where an instance of NumberTool is passed through the
headers.  Seemed very hacky to me, it seems like there must be a cleaner
mechanism.

--Chris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message