Spring Integration Tutorial (Part 4) – Transformers
Part 4 – Transformers
We continue our Spring Integration tutorial and 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.
Part 4 of 8 in our Spring Integration Tutorial looks at SI transformers – how to use the built-in transformers and how to create a custom transformer using POJOs.
After watching the video, you are ready to take on the challenges of Lab 4 using Spring Integration Transformers.
Missed other parts of the tutorial series? Check them out using the links below.
Spring Integration Introduction
Spring Integration Tutorial (Part 1) – Understanding Channels
Spring Integration Tutorial (Part 2) – Adapters
Spring Integration Tutorial (Part 3) – Filters
Spring Integration Tutorial (Part 4) – Transformers
Spring Integration Tutorial (Part 5) – Routers
Spring Integration Tutorial (Part 6) – Enrichers
Spring Integration Tutorial (Part 7) – Service Activators
Spring Integration Tutorial (Part 8) – Gateways
trying to generate JAXB files:
Error: Could not find or load main class com.sun.tools.internal.xjc.XJCFacade
what to do ?
If you are using eclipse then navigate to Window -> preferences -> java->installed JREs. Make sure that have configured your JDK there instead of JRE.