spring-framework/framework-docs
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
..
modules/ROOT Post process outgoing messages in JMS clients 2025-08-01 15:40:32 +02:00
src Post process outgoing messages in JMS clients 2025-08-01 15:40:32 +02:00
antora-playbook.yml Upgrade to antora-ui-spring version 0.4.18 2024-11-15 14:32:01 +01:00
antora.yml Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
framework-docs.gradle Update Spring MVC message converters documentation 2025-07-07 18:15:44 +02:00
package.json Fix broken antora task 2025-02-19 16:40:50 +01:00