./gradlew :spring-integration:basic-integration:bootRun
./gradlew :spring-integration:pollable-channels:queue-channel:bootRun
./gradlew :spring-integration:pollable-channels:priority-queue-channel:bootRun
./gradlew :spring-integration:subscribable-channels:direct-channel:bootRun
./gradlew :spring-integration:subscribable-channels:pubsub-channel:bootRun
./gradlew :spring-integration:subscribable-channels:messaging-bridge:bootRun
./gradlew :spring-integration:subscribable-channels:channel-interceptors:bootRun
Routes based on the type of payload or header value enclosed in Message (Payload Type, Header Value)
Routes based on the recipient filter expression, routes to default channel if no match.
Create a simple transformation inline (SpEL expression based)
Custom transform function based on an external service
Filter headers for each message on a message channel
Add headers for each message on a message channel
Add more data per each message on a channel
Gateways can take in raw POJOs and process them.
Service Activators are endpoints at which data is handled or proxied.
Inbound adapters receive information from external systems, outbound adapters push data to external systems.
Reading from file system
./gradlew :spring-integration:file-system-integration:reading-files:bootRun
Writing files to the file system
./gradlew :spring-integration:file-system-integration:writing-files:bootRun
./gradlew :spring-integration:file-system-integration:transforming-files:bootRun
./gradlew :spring-integration:file-system-integration:outbound-file-gateway:bootRun
./gradlew :spring-integration:jdbc-integration:inbound-channel-adapter:bootRun
./gradlew :spring-integration:jdbc-integration:outbound-channel-adapter:bootRun
./gradlew :spring-integration:jdbc-integration:outbound-gateway:bootRun
- Run FTPUploader and create a sample file in
target/upload
- Uploader will upload to FTP server
- Run FTPDownloader, which will download the sample file to
target/download
Note: Make sure the home directory on FTP server, the user has create/delete permissions on directories.
Start RabbitMQ by running rabbitmq-server
command on macOS
Must have activemq
installed.
MacOS:
brew install activemq
Start activemq via activemq start