I had to fix camel-stringtemplate, camel-freemaker and camel-velocity in
all supported branches (trunk, camel-2.9.x, camel-2.8.x and camel-2.7.x).
If you cannot use a snapshot version (what I asume), I would propose to use
the enricher component as a workaround. Something like:
from("xxx")
.enrich("direct:workaround", aggregationStrategie)
.to("smtp:XXX"");
from("direct:workaround")
.to("stringtemplate:XXX");
And the aggregation strategie can copy the attachment from the old exchange
to the new one.
Sorry for this inconvenience. Let me know if you need help here.
Best,
Christian