mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
00606d2171
Prior to this commit, if the JmsClient was configured with a default destination name (instead of a default Destination), invoking the sendAndReceive() variant which accepts a map of headers resulted in an exception stating that a default destination is required. To address that, this commit overrides the convertSendAndReceive(Object, Map<String, Object>, Class<T>, MessagePostProcessor) method in JmsMessagingTemplate to add support for both a default Destination and a default destination name. Closes gh-36118