As data, in the form of a message, travels among components in a Spring Integration project, it is common to need to represent that data differently to different consumers. In this video, learn how to use an endpoint to transform a message between object types.
- [Instructor] As we have learned, … transformers modify a message … so that it can meet the contractual … or the type expectations of a consumer. … Let us now build a transforming end point together. … We'll initialize our project files for this lesson … using git, check out, 03_03b. … So our dashboard application depends on a backend rest API … for client status data points. … Our goal in this lesson is to leverage Spring integration, … to convert raw API JSON structured data, … like you typically receive from a rest API response, … into our native domain business tier. … Let's depart from our typical order of things … and start in our service layer this time, … instead of in our configuration. … In line 53, that is where we're simulating a rest API call. … Notice there, that we are formatting a domain object, … so that we can send it into the message flow in line 59. … This complexity is what we want to get rid of. … What we've got for this lesson … is a simulated rest API call … that in our case gives us a string, …
Skill Level Advanced
Using the exercise files2m 16s
1. Essential Project Components
2. Communicating Messages over Channels
3. Manage Messages with Endpoints
4. Connect External Systems with Endpoints
5. Advanced Spring Integration
Advanced Spring Integration2m 54s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.