Skip to content

Add templating support to ObjectToStringTransformer [INT-1036] #5031

Open
@spring-operator

Description

@spring-operator

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:

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions