From the course: Spring: Spring Integration

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Set up a Spring Integration project

Set up a Spring Integration project - Spring Tutorial

From the course: Spring: Spring Integration

Start my 1-month free trial

Set up a Spring Integration project

- [Instructor] Let's learn how to configure a Spring Integration message flow and how to integrate that message flow into a larger Spring application. Now configuring a message flow in Spring Integration looks a whole lot like configuring any other project component in Spring. You can use XML configuration files for an externalized metadata type of approach, or you can use inline Java based annotations. Both approaches have their pros and cons with trade-offs that are the same for Spring Integration as they are for Spring in general. In this training course, we will use XML exclusively for our dependency injection configuration because it gives us a more centralized and accessible way to visualize our structure with fewer files to flip through. Here is an example of a Spring integration configuration file. Notice the inclusion of the integration schema here in the outer beans element, along with namespace specific…

Contents