Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-1036

Add templating support to ObjectToStringTransformer

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0 M2
    • Fix Version/s: 5.2 Backlog
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              kdonald Keith Donald
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: