Files
spring-integration-samples/intermediate/stored-procedures-derby
Artem Bilan 1aa24b6577 Upgrade dependencies and various fixes
* Remove usage of removed `org.springframework.util.SocketUtils`
in favor of OS-selected port
* Migrate mail tests to Greenmail instead of already obsolete (and soon to be removed)
`org.springframework.integration.test.mail.TestMailServer`
2022-03-24 12:02:16 -04:00
..
2021-01-28 11:15:26 -05:00
2022-03-24 12:02:16 -04:00
2019-03-22 15:59:21 -04:00

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:

https://www.springsource.org/spring-integration