Spring Integration (Part 4) - Transformers

6,791 views
7,910 views

Published on

We continue our exploration of Spring Integration (SI) message endpoints today with a look at transformers. Transformers take a message from a channel and creates a new message containing converted payload or message structure. This allows the provider of information and the consumer of information to communicate via SI without having to settle on a common format. XML can be transformed to JSON, JSON transformed to Java objects, etc.

Published in: Software
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
6,791
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
57
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Spring Integration (Part 4) - Transformers

  1. 1. Copyright © 2014 by Intertech, Inc.
  2. 2. Copyright © 2014 by Intertech, Inc.
  3. 3. Copyright © 2014 by Intertech, Inc.
  4. 4. Copyright © 2014 by Intertech, Inc.
  5. 5. Copyright © 2014 by Intertech, Inc. <int:object-to-string-transformer input-channel="inboundChannel" output-channel="outboundChannel“ /> <int:transformer input-channel="inboundChannel" output-channel="outboundChannel" expression="payload.toUpperCase()"/>
  6. 6. Copyright © 2014 by Intertech, Inc.
  7. 7. Copyright © 2014 by Intertech, Inc. http://bit.ly/1hyrViM Click here for associated labs and video

×