-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: enhancementA general enhancementA general enhancement
Milestone
Description
So far, 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.
As requested in #22999, developers would like to be able to mutate all messages before they're being sent, so as to add context information to the message. We can use the new JmsClient
for that, and introduce support for MessagePostProcessor
, this time for all outgoing messages (converted or not).
We should also consider updating the JmsClient
static factoriesas a result, as this requires more configuration options.
Metadata
Metadata
Assignees
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: enhancementA general enhancementA general enhancement