mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
a37abd5e54
Previously, MessagingMessageListenerAdapter or any adapter relying on the default MessagingMessageConverter would log an incoming message with a toString of the Message that does not provide any extra information. This is due to the default implementation providing a lazy resolution message that only attempts to extract the payload when necessary. This commit implements a toString method that uses the raw JMS message if the payload is not available. If it is, the payload is used instead. Closes gh-21265