spring-framework/framework-docs/modules/ROOT/pages
Brian Clozel ec87d90c9b Post process outgoing messages in JMS clients
Prior to this commit, the `JmsTemplate` would use `MessagePostProcessor`
for mutating JMS messages before they are being sent, but only if the
method takes a post processor as an argument.
The main use case so far is to mutate messages after they've been
created by a `MessageConverter` from a payload.

This commit updates the `JmsClient` to use `MessagePostProcessor` more
broadly, for all outgoing messages (converted or not). This brings an
interception-like mechanism for clients to enrich the message before
being sent.

This change also updates the `JmsClient` static factories and
introduces a Builder, allowing for more configuration options: multiple
message converters and message post processors.

Closes gh-35271
2025-08-01 15:40:32 +02:00
..
core Polish Resilience Features section of reference manual 2025-07-15 10:39:49 +02:00
data-access Merge branch '6.2.x' 2025-07-10 19:42:14 +02:00
integration Post process outgoing messages in JMS clients 2025-08-01 15:40:32 +02:00
languages Merge branch '6.2.x' 2025-07-10 19:42:14 +02:00
testing Polishing in RestTestClient reference docs 2025-07-30 07:13:48 +01:00
web PathApiVersionResolver is not nullable 2025-07-31 15:32:12 +01:00
appendix.adoc Introduce Spring property for default escape character for placeholders 2025-05-13 13:37:30 +02:00
core.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
data-access.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
index.adoc Use appropriate link for Testing chapter 2025-01-23 10:58:48 +01:00
integration.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
languages.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
overview.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
page-layout.adoc Remove unnecessary asciidoc attributes 2023-05-04 15:35:05 +01:00
rsocket.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
testing.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
web-reactive.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
web.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00