* Use `MatcherAssert.assertThat()` instead of deprecated `Assert.assertThat()` * Use `IntegrationFlows.fromSupplier(Supplier)` instead of removed `IntegrationFlows.from(Supplier)` * Use `org.springframework.integration:spring-integration-test` throughout the project for more testing utilities
Spring Integration - Stored Procedure Example - Derby
Overview
This example provides a simple example using the stored procedure Outbound Gateway adapter. This example will call 2 Derby Stored Procedures.
One procedure uses an Out Parameter to return values and the second procedure returns a ResultSet.
Setup
Just make sure you have Gradle set up and that the project builds successfully.
Run the Sample
-
running the "Main" class from within STS (Right-click on Main class --> Run As --> Java Application)
-
or from the command line:
$ gradlew :stored-procedures-derby:run
-
Follow the screen (command line) instructions.
For help please take a look at the Spring Integration documentation: