Fixes some small typos
This commit is contained in:
committed by
Oleg Zhurakousky
parent
e315d60161
commit
35dff8762a
@@ -1392,7 +1392,7 @@ To avoid repetition, Spring Cloud Stream supports setting values for all channel
|
||||
|
||||
When it comes to avoiding repetitions for extended binding properties, this format should be used - `spring.cloud.stream.<binder-type>.default.<producer|consumer>.<property>=<value>`.
|
||||
|
||||
In what follows, we indicate where we have omitted the `spring.cloud.stream.bindings.<channelName>.` prefix and focus just on the property name, with the understanding that the prefix ise included at runtime.
|
||||
In what follows, we indicate where we have omitted the `spring.cloud.stream.bindings.<channelName>.` prefix and focus just on the property name, with the understanding that the prefix is included at runtime.
|
||||
|
||||
==== Common Binding Properties
|
||||
|
||||
@@ -1762,7 +1762,7 @@ However, it also provides a sensible default (which was determined from communit
|
||||
|
||||
Another reason for making `application/json` the default stems from the interoperability requirements driven by distributed microservices architectures, where producer and consumer not only run in different JVMs but can also run on different non-JVM platforms.
|
||||
|
||||
When the non-void handler method returns, if the the return value is already a `Message`, that `Message` becomes the payload. However, when the return value is not a `Message`, the new `Message` is constructed with the return value as the payload while inheriting
|
||||
When the non-void handler method returns, if the return value is already a `Message`, that `Message` becomes the payload. However, when the return value is not a `Message`, the new `Message` is constructed with the return value as the payload while inheriting
|
||||
headers from the input `Message` minus the headers defined or filtered by `SpringIntegrationProperties.messageHandlerNotPropagatedHeaders`.
|
||||
By default, there is only one header set there: `contentType`. This means that the new `Message` does not have `contentType` header set, thus ensuring that the `contentType` can evolve.
|
||||
You can always opt out of returning a `Message` from the handler method where you can inject any header you wish.
|
||||
|
||||
Reference in New Issue
Block a user