Juergen Hoeller
c813577908
Consistently use DefaultParameterNameDiscoverer.getSharedInstance()
...
This includes MethodParameter resolving getParameterName() by default now.
initParameterNameDiscovery(null) can be used to suppress such resolution.
Closes gh-36024
2025-12-17 13:39:02 +01:00
Juergen Hoeller
07c0213f20
Polishing
2025-12-04 00:12:31 +01:00
Sébastien Deleuze
9f9f0a7014
Polish suspending functions support in RSocketServiceMethod
...
Closes gh-35473
2025-10-30 10:51:58 +01:00
Dmitry Sulman
3190269567
Support suspending functions in RSocketServiceMethod
...
See gh-35473
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
2025-10-30 10:51:27 +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
Dariusz Jędrzejczyk
b2c84ac038
Adapt to Reactor 3.8 JSpecify annotations
...
Closes gh-35501
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2025-10-13 09:01:47 +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
rstoyanchev
fbe96a8112
Polishing contribution
...
Closes gh-35224
2025-08-12 06:30:08 +01:00
Songdoeon
b89dcb1a1a
Subscription.unsubscribe() returns Receiptable
...
See gh-35224
Signed-off-by: Songdoeon <ehdjs9583@naver.com>
2025-08-12 06:11:35 +01: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
Yanming Zhou
410a9ce108
Mark applicable Scope's methods as default
...
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-07-07 13:37:47 +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
Backport Bot / build (push) Waiting to run
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
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
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
Vincent Potucek
0d4dfb6c1f
Rename exception variables in empty catch blocks
...
The Spring codebase sometimes ignores exceptions in catch blocks on
purpose. This is often called out by an inline comment.
We should make this more obvious by renaming the exception argument in
the catch block to declare whether the exception is "ignored" or
"expected".
See gh-35047
Signed-off-by: Vincent Potucek <vpotucek@me.com>
[brian.clozel@broadcom.com: rework commit message]
Signed-off-by: Brian Clozel <brian.clozel@broadcom.com>
2025-06-15 16:11:42 +02:00
Patrick Strawderman
fd2038c927
Use String.replace in MetadataEncoder
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
Use String.replace instead of replaceAll in MetadataEncoder; since Java 9, String.replace
no longer uses a regex, while replaceAll does. The use case here of replacing a single
character does not require a regex.
Closes gh-35025
Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com>
2025-06-12 09:01:11 +02:00
Sam Brannen
077146d636
Merge branch '6.2.x'
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-06-09 14:12:45 +02:00
Sam Brannen
18d6a55e3e
Polishing and removal of "this." for method invocations
Backport Bot / build (push) Waiting to run
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-06-09 14:10:30 +02:00
rstoyanchev
230540b6da
Polishing contribution
...
Closes gh-34942
2025-06-04 13:46:22 +01:00
Yanming Zhou
f9fa7cc93b
Add missing "since" in `@Deprecated`
...
See gh-34942
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-06-04 13:46:22 +01:00
Sébastien Deleuze
c41147aa35
Introduce JacksonJsonMessageConverter#getObjectMapper
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
In order to give access to the underlying ObjectMapper to
classes extending JacksonJsonMessageConverter.
Closes gh-34963
2025-06-03 09:58:02 +02:00
Sam Brannen
a6b06a889d
Merge branch '6.2.x'
2025-06-02 10:12:36 +02:00
Sam Brannen
f207c0ed5c
Polish contribution
...
See gh-34949
2025-06-02 10:10:46 +02:00
Mengqi Xu
bbf61c74ab
Fix REPLY_CHANNEL header check in MessageHeaderAccessor
...
Prior to this commit, the verifyType() method in MessageHeaderAccessor
checked if REPLY_CHANNEL ended with the given header name which does
not make much sense and is inconsistent with the ERROR_CHANNEL check.
This commit therefore checks if the REPLY_CHANNEL is equal to the given
header name, analogous to the ERROR_CHANNEL check.
See gh-34881
Closes gh-34949
Signed-off-by: Mengqi Xu <2663479778@qq.com>
2025-06-02 10:00:01 +02:00
Sam Brannen
01fea5e7ed
Polish Jackson 3 support
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
- 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
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
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
3a0a755144
Introduce Jackson 3 support for spring-messaging
...
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
...
Backport Bot / build (push) Has been cancelled
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Has been cancelled
Details
Deploy Docs / Dispatch docs deployment (push) Has been cancelled
Details
Build and Deploy Snapshot / Verify (push) Has been cancelled
Details
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
47651350f3
Polishing
Backport Bot / build (push) Waiting to run
Details
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:ubuntu-latest name:Linux]) (push) Waiting to run
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-03-21 10:58:40 +01:00
Sam Brannen
6505c4b839
Refine use of isArray() and componentType()
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
2025-03-20 17:28:37 +01:00
Sam Brannen
8db1340263
Merge branch '6.2.x'
2025-03-19 16:24:18 +01:00
Sam Brannen
208d52d852
Introduce Checkstyle rule for separator symbol location
2025-03-19 15:35:44 +01:00
Sébastien Deleuze
7bc712e304
Upgrade NullAway to 0.12.4
...
This commit also slightly refines nullness but without
significant user-side impact expected.
Closes gh-34525
2025-03-03 08:45:54 +01:00
rstoyanchev
e9d16da633
Remove Netty 5 support
...
Closes gh-34345
2025-02-11 12:27:33 +00:00
rstoyanchev
b0a1a11612
Merge branch '6.2.x'
2025-02-10 11:15:08 +00:00
rstoyanchev
ccdaed594e
Polishing contribution
...
Closes gh-34333
2025-02-10 11:14:21 +00:00
Branden Clark
c41b0140cd
Check hasNext on sessionIds in UserDestinationResult
...
See gh-34333
Signed-off-by: Branden Clark <brandenrayclark@gmail.com>
2025-02-10 11:14:21 +00:00
Johnny Lim
042b78f609
Fix Javadoc @code tags
...
Signed-off-by: Johnny Lim <izeye@naver.com>
2025-01-30 13:33:42 +09:00
Sébastien Deleuze
673e2b0dd2
Refine null-safety in DestinationPatternsMessageCondition
...
See gh-28797
2025-01-23 14:16:45 +01:00
Brian Clozel
f85752a956
Fix hints and predicates for Field reflective access
...
This commit revisits the arrangement for Field hints after changes made
in gh-34239.
Closes gh-34294
2025-01-21 20:05:12 +01:00