This is the repository for the LinkedIn Learning course Spring: Spring Integration. The full course is available from LinkedIn Learning.
In this course, instructor Kathy Flint shows how Spring Integration fits into the overall Spring framework. Kathy covers realistic use cases that warrant the use of Spring Integration, such as APIs, reactive websites, and database-integrated systems. Kathy demonstrates the full capabilities of Spring Integration by building a demonstration application; she starts with an empty Spring Boot application and adds Spring Integration components in increasing complexity, ending with a substantive demonstration application. She covers key features like message channels, message transformation, routing, and aggregation. Kathy finishes the course by identifying practical challenges and choices that an architect or engineer may encounter during the design and implementation of a Spring Integration system.
This repository has branches for each of the code lesson videos in the course. You can use the branch pop up menu in github to switch to a specific branch and take a look at the course at that stage, or you can add /tree/BRANCH_NAME
to the URL to go to the branch you want to access.
The branches are structured to correspond to the videos in the course. The naming convention is CHAPTER#_MOVIE#
. As an example, the branch named 02_03
corresponds to the second chapter and the third video in that chapter.
Some branches will have a beginning and end state. These are marked with the letters b
for "beginning" and e
for "end". The b
branch contains the code as it is at the beginning of the movie. The e
branch contains the code as it is at the end of the movie.
The main
branch holds the final state of the code when the course is complete.
When switching from one exercise files branch to the next after making changes to the files, you may get a message like this:
error: Your local changes to the following files would be overwritten by checkout: [files]
Please commit your changes or stash them before you switch branches.
Aborting
To resolve this issue:
Add changes to git using this command: git add .
Commit changes using this command: git commit -m "some message"
- To use these exercise files, you must have the following installed:
- Java 8 or higher
- Maven
- Clone this repository into your local machine using the terminal (Mac), CMD (Windows), or a GUI tool like SourceTree.
- From IDEA Welcome screen, select Open or Import
- Choose the root directory of your newly cloned repository:
spring-spring-integration-28748253
- Within IntelliJ, make sure your Project SDK is set to Java 1.8 or higher. (File > Project Structure)
- From the Project View, context-click on the file
dashboard/pom.xml
- Select + Add as Maven project. This will cause project dependencies to download from the internet. Minimize the resulting Maven view pane if you wish.
- Context-click on the file
dashboard/src/main/java/com.lil.springintegration.DashboardApplication.java
- Select Run
- Open the application in your browser at
http://localhost:9090
- In your terminal, navigate to directory
spring-spring-integration-28748253/dashboard
- Execute
mvn clean package
- Execute
mvn spring-boot:run
- Open the app in your browser at
http://localhost:9090
Kathy D. Flint
Software Engineer and Application Architect
Check out my other courses on LinkedIn Learning.