spring-projects / spring-projects/spring-integration-samples
No XML example of jdbc outbound gateway
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
Is there an no xml example of the basic jdbc sample available? Am particularly interested in converting the following part using annotations.
<bean id="personResultMapper" class="org.springframework.integration.samples.jdbc.PersonMapper"/>
<int-jdbc:outbound-gateway data-source="datasource"
request-channel="createPersonRequestChannel"
reply-channel="createPersonReplyChannel"
update="insert into Person (name,gender,dateOfBirth)
values
(:name,:gender,:dateOfBirth)"
query="select * from Person where id = :id"
request-sql-parameter-source-factory="requestSource"
reply-sql-parameter-source-factory="replySource"
row-mapper="personResultMapper"
keys-generated="true"/>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the basic JDBC sample and its annotation-based configuration, then compare them with the outbound-gateway XML shown in the issue. Done means the sample includes a usable annotation-based equivalent or clearly documented example covering the requested gateway configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100