Open
Description
Keith Donald opened INT-1036 and commented
As a user I'd like the ability to reference a template to use to generate the transformed String, where the model for the template would be the payload.
Example usage:
<object-to-string-transformer input-channel="newAppointmentsChannel" template="classpath:templates/new-appointment-email.st" output-channel="doctorEmailChannel" />
Code attached using foundational bits in SPR-6987.
Affects: 2.0 M2
Attachments:
- ObjectToStringTransformer.java (1.09 kB)
Issue Links:
- SPR-6987 String Template support
("depends on") - Consider Adding a Freemarker Transformer [INT-3817] #7771 Consider Adding a Freemarker Transformer