Fix function misspelling in gateway documentation

* Tweaked the 6.4-6.5 documentation.
This commit is contained in:
Glenn Renfro
2025-05-30 17:26:35 -04:00
committed by GitHub
parent 235228596b
commit 6ef9672a1e
2 changed files with 5 additions and 4 deletions

View File

@@ -15,7 +15,8 @@ The `AbstractCorrelatingMessageHandler` does not throw an `IllegalArgumentExcept
Instead, such a collection is wrapped into a single reply message.
See xref:aggregator.adoc[Aggregator] for more information.
The `AbstractMessageChannel` beans now throw a special `MessageDispatchingException` when an attempt to send a message to not running application is done.
The `AbstractMessageChannel` beans now throw a special `MessageDispatchingException` when an attempt is made to send a message to an application that is not running.
In general, it is a design error to try to produce a message from `afterPropertiesSet()`, `@PostConstruct` or bean definition methods.
The `SmartLifecycle.start()` is preferred way for this kind of logic, or better to do that via inbound channel adapters.
@@ -82,8 +83,8 @@ See xref:hazelcast.adoc[Hazelcast Support] for more information.
[[x6.5-jdbc-changes]]
== JDBC Support
The `BeanPropertySqlParameterSourceFactory` uses now internally the `MapSqlParameterSource` if provided input is a `Map`.
Also, `JdbcMessageHandler` exposes a `usePayloadAsParameterSource` flag to allow to deal with parameter source only against message payload.
The `BeanPropertySqlParameterSourceFactory` now internally uses the `MapSqlParameterSource` if provided input is a `Map`.
Also, `JdbcMessageHandler` exposes a `usePayloadAsParameterSource` flag to allow working with parameter source only against message payload.
That's where the mentioned `MapSqlParameterSource` comes useful for request messages with map payloads.
See xref:jdbc.adoc[JDBC Support] for more information.

View File

@@ -720,7 +720,7 @@ where such a gateway can be used in some service which deals with the `Flux` of
@Autowired
TestGateway testGateway;
public void hadnleFlux() {
public void handleFlux() {
Flux.just("1", "2", "3", "4", "5")
.map(Integer::parseInt)
.flatMap(this.testGateway::multiply)