You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christopher Piggott <cp...@gmail.com> on 2014/02/16 19:03:19 UTC

Proper way to use velocity formatters like NumberTool

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