Juergen Hoeller
75705bcbb1
Restore early MessageConsumer creation for temporary queue
...
Closes gh-36321
2026-02-13 13:55:08 +01:00
Juergen Hoeller
1c4b20287f
Use correlation id for explicit sendAndReceive response queue
...
See gh-36162
See gh-36177
2026-01-21 14:46:36 +01:00
Sam Brannen
357205723f
Simplify tests
2026-01-20 13:54:19 +01:00
Sam Brannen
4d4adeb2c6
Polish Javadoc
2026-01-18 16:52:04 +01:00
Michał Pisarski
3f390d55f0
Add overloaded sendAndReceive methods to JmsOperations and JmsTemplate to use explicit response queue
...
Signed-off-by: Michał Pisarski <pisekfm@o2.pl >
2026-01-17 00:16:15 +01:00
Juergen Hoeller
48bedd0af1
Revise DefaultMessageListenerContainer connection recovery
...
Includes listener validation for consistent back-off behavior.
Closes gh-36143
2026-01-16 22:38:01 +01:00
Juergen Hoeller
62fd09dfa5
Polishing
2026-01-14 22:05:06 +01:00
Sam Brannen
948af8bcc6
Fix typo in Javadoc
2026-01-14 11:37:37 +01:00
Sam Brannen
00606d2171
Use default destination name with JmsClient.sendAndReceive() and headers
...
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
2026-01-09 15:04:47 +01:00
Juergen Hoeller
07c0213f20
Polishing
2025-12-04 00:12:31 +01:00
Juergen Hoeller
71d18ebabc
Improve debug log for received message
2025-12-01 15:03:08 +01:00
Juergen Hoeller
3ccb0786db
Clear remaining invoker resources when releasing shared Connection
...
Closes gh-35932
2025-12-01 15:03:00 +01:00
Juergen Hoeller
9d4abb63d8
Clarify JMS sessionTransacted flag for local versus global transaction
...
Closes gh-35897
2025-11-26 15:06:22 +01:00
Sébastien Deleuze
8ec9ab6698
Add builder-based constructors to Jackson 3 infrastructure
...
This commit also polishes documentation, constructor parameter and
field names.
Closes gh-35597
2025-10-15 11:49:55 +02:00
Juergen Hoeller
080bca0b23
Deprecate TransactionCallbackWithoutResult
...
Closes gh-35606
2025-10-11 13:25:40 +02:00
Juergen Hoeller
1333669e2c
Introduce SimpleDestinationResolver as new default for common setups
...
Closes gh-35456
2025-10-02 18:28:59 +02:00
Sébastien Deleuze
7635ac38f6
Use uppercase for classpath-related static final field names
...
Closes gh-35525
2025-09-22 18:32:14 +02:00
Sam Brannen
0c61ac956b
Add missing @Override annotations
...
... and suppress "serial" warnings
2025-09-22 13:20:37 +02:00
Sébastien Deleuze
79738d921a
Upgrade to Jackson 3.0.0-rc10
...
See gh-35521
2025-09-22 11:16:25 +02:00
Sébastien Deleuze
dc26aaa0ec
Use JsonMapper instead of ObjectMapper when relevant
...
This commit updates Jackson 3 JSON support to use JsonMapper
instead of ObjectMapper in converters, codecs and view constructors.
As a consequence, AbstractJacksonDecoder, AbstractJacksonEncoder,
AbstractJacksonHttpMessageConverter and JacksonCodecSupport are
now parameterized with <T extends ObjectMapper>.
Closes gh-35282
2025-08-22 18:39:23 +02:00
Sébastien Deleuze
0389e3e3af
Revert "Use JsonMapper instead of ObjectMapper when relevant"
...
This reverts commit d115f36400 .
See gh-35282
2025-08-12 15:21:20 +02:00
Sébastien Deleuze
d115f36400
Use JsonMapper instead of ObjectMapper when relevant
...
This commit updates Jackson 3 support to use JsonMapper instead
of ObjectMapper in converter, codec and view constructors.
Closes gh-35282
2025-08-12 10:36:37 +02:00
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
Juergen Hoeller
2b56b759af
Fix JmsClient visibility
...
See gh-32501
2025-07-07 16:06:28 +02:00
Juergen Hoeller
56f16a8817
Add usage examples to JmsClient javadoc
...
See gh-32501
2025-07-07 14:08:33 +02:00
NeatGuyCoding
d957f8bb5d
Fix copy-n-paste errors in JmsClient Javadoc
...
Closes gh-35163
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
2025-07-07 12:41:35 +02:00
Juergen Hoeller
0111329214
Consistently introspect constructor-provided JmsTemplate
...
See gh-32501
2025-07-04 21:50:20 +02:00
Juergen Hoeller
8cb901825b
Merge branch '6.2.x'
...
# Conflicts:
# spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcTemplate.java
# spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java
# spring-messaging/src/main/java/org/springframework/messaging/core/AbstractDestinationResolvingMessagingTemplate.java
# spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageReceivingTemplate.java
# spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessagingTemplate.java
# spring-messaging/src/main/java/org/springframework/messaging/core/MessageRequestReplyOperations.java
# spring-messaging/src/main/java/org/springframework/messaging/core/MessageSendingOperations.java
2025-07-04 18:31:13 +02:00
Juergen Hoeller
65e5c14245
Polishing
2025-07-04 18:20:27 +02:00
Juergen Hoeller
9596b70b2a
Consistent nullability and exception declarations
...
Closes gh-35159
2025-07-04 18:20:19 +02:00
Juergen Hoeller
6dc3c11828
Introduce JmsClient with configurable settings per operation
...
Closes gh-32501
Closes gh-26840
2025-07-04 17:36:33 +02:00
Sam Brannen
cf06efece6
Merge branch '6.2.x'
2025-07-04 11:49:10 +02:00
Sam Brannen
5da8d5e795
Remove unnecessary final declarations in JmsTemplate
...
This commit removes unnecessary `final` declarations for parameters that
are "effectively final".
2025-07-04 11:38:30 +02:00
Sam Brannen
133f330850
Declare remaining messageSelector parameters in JmsOperations as @Nullable
...
Closes gh-35151
2025-07-04 11:35:49 +02:00
Jiandong Ma
b6675edb92
Declare messageSelector parameters in JmsOperations as @Nullable
...
See gh-35151
Signed-off-by: Jiandong Ma <jiandong.ma.cn@gmail.com >
2025-07-03 19:17:49 +02:00
Juergen Hoeller
196b7ec275
Deprecate (Jdbc)DaoSupport classes (including JmsGatewaySupport)
...
Closes gh-35145
2025-07-02 11:12:57 +02:00
Spring Builds
16edf9867a
Update copyright headers in source files
...
This commit updates Java, Kotlin, and Groovy source files to use the
"<year>-present" pattern in copyright headers.
Closes gh-35070
2025-06-17 16:23:50 +02:00
Spring Builds
aee29b7f30
Update copyright headers in source files
...
This commit updates Java, Kotlin, and Groovy source files to use the
"<year>-present" pattern in copyright headers.
Closes gh-35070
2025-06-17 15:54:58 +02:00
Sam Brannen
8b9e620084
Allow FixedBackOff to be constructed with only a custom interval
...
This commit introduces two new constructors:
- FixedBackOff(long)
- FixedBackOff(Duration)
Closes gh-35028
2025-06-11 13:26:16 +02:00
Sam Brannen
077146d636
Merge branch '6.2.x'
2025-06-09 14:12:45 +02:00
Sam Brannen
18d6a55e3e
Polishing and removal of "this." for method invocations
2025-06-09 14:10:30 +02:00
Sam Brannen
01fea5e7ed
Polish Jackson 3 support
...
- Improve Javadoc.
- Suppress warnings for "removal".
- Update copyright headers.
- Migrate several tests from:
- MappingJackson2MessageConverter to JacksonJsonMessageConverter
- Jackson2JsonEncoder to JacksonJsonEncoder
- Jackson2JsonDecoder to JacksonJsonDecoder
- Jackson2SmileEncoder to JacksonSmileEncoder
- Jackson2ObjectMapperBuilder to JsonMapper and XmlMapper
- MappingJackson2JsonView to JacksonJsonView
- MappingJackson2HttpMessageConverter to JacksonJsonHttpMessageConverter
- MappingJackson2XmlHttpMessageConverter to JacksonXmlHttpMessageConverter
2025-05-14 16:55:27 +02:00
Sébastien Deleuze
2a29e16456
Deprecate for removal Jackson 2 support
...
This commit deprecate for removal (likely in a future 7.x release) the
Jackson 2 support in favor of the Jackson 3 one.
Closes gh-33798
2025-05-13 18:02:33 +02:00
Sébastien Deleuze
a0ed3f052e
Introduce Jackson 3 support for spring-jms
...
This commit introduces a JacksonJsonMessageConverter Jackson 3 variant
of MappingJackson2MessageConverter.
See gh-33798
2025-05-13 17:53:28 +02:00
Sam Brannen
9956cc11bb
Merge branch '6.2.x'
2025-03-29 12:57:49 +01:00
Sam Brannen
9fd1d0c6a3
Polish Javadoc
...
This commit also reverts the change to ASM's SymbolTable class.
See gh-34679
2025-03-29 12:57:08 +01:00
Tran Ngoc Nhan
30fcaef813
Remove unnecessary closing curly brackets in Javadoc
...
Closes gh-34679
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
2025-03-29 12:37:48 +01:00
Juergen Hoeller
3872c1a762
Merge branch '6.2.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java
# spring-jms/src/main/java/org/springframework/jms/config/AbstractJmsListenerContainerFactory.java
# spring-jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java
2025-03-25 17:13:02 +01:00
Juergen Hoeller
20736bd06f
Introduce acknowledgeAfterListener flag for custom acknowledge handling
...
Closes gh-34635
2025-03-25 17:06:28 +01:00
Sam Brannen
8db1340263
Merge branch '6.2.x'
2025-03-19 16:24:18 +01:00