O'Reilly logo

Spring Integration Essentials by Chandan Pandey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integration

Now is the time for actual integration! Once the router has routed the message to the appropriate endpoints, it should be processed by them. For example, it can be persisted to a database, sent on a JMS channel, or sent as an e-mail. Depending on the payload type, the router will put the message on to one of the channels jdbcChannel, jmsChannel, or mailChannel. If it cannot understand the payload, it will route it to logChannel. Let's start with the endpoint attached to the channel jdbcChannel that is used for database integration.

Database integration

In this section, we will write code to add and query data from a database. Before we write adapters from Spring Integration, let's do the basic setup.

Prerequisites

As obvious as it can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required