Juergen Hoeller
9cc03fa8b0
Polishing
8 years ago
Juergen Hoeller
b8c92ce931
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16596
Issue: SPR-16488
(cherry picked from commit d4a8f76 )
8 years ago
Rossen Stoyanchev
d512cca3fd
Reactor2TcpClient constructor with address supplier
...
Issue: SPR-12452
8 years ago
Juergen Hoeller
d4af8c86b2
Polishing
8 years ago
igor-suhorukov
39ddd0f349
Polish: String function use should be optimized for single characters
...
(cherry picked from commit 49fd724 )
8 years ago
Juergen Hoeller
0030ff8711
Polishing
8 years ago
Rossen Stoyanchev
2033f50f22
Fix regression in MappingJackson2MessageConverter
...
As of 4.3.13 MappingJackson2MessageConverter uses the MethodParameter
hint to obtain generic type information but it needs to be careful, and
nest one level, if the target parameter type has a Message wrapper.
Issue: SPR-16486
8 years ago
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
8 years ago
Juergen Hoeller
05dec6d23e
Consistent use of @throws instead of @exception
...
(cherry picked from commit 5c813a3 )
8 years ago
Rossen Stoyanchev
ef4b62caa0
Refine "." separator support for STOMP messaging
...
After this commit DefaultUserDestinationResolves no longer looks at
whether AntPathMatcher is configured with "." as separator and rather
expects to be explicitly told whether to keep the leading slash in
translated destinations which actually depends on what the message
broker supports (e.g. RabbitMQ "/", Artemis ".") or how it is
configured (simple broker could be either way).
There is also a minor improvement in SimpMessagingTemplate to ensure
user destinations are correctly formed based on what the
DefaultUserDestinationResolver expects. When using "." as separtor it
allows sending messages to "queue.q1" rather than "/queue.q1".
Issue: SPR-16275
8 years ago
Rossen Stoyanchev
238e9ae59f
Polish MessageBrokerConfigurationTests
8 years ago
Juergen Hoeller
0b77c8835c
Reduce access on user in SimpleBrokerMessageHandler.handleMessageInternal
...
Issue: SPR-16264
8 years ago
Rossen Stoyanchev
6dbc828aa1
MappingJackson2MessageConverter uses generic type
...
This is a backport of the #583201 minus use of GenericTypeResolver
which in 5.0 has been refactored to provide a getJavaType method.
Issue: SPR-16252
8 years ago
Rossen Stoyanchev
4fe94dffc0
Fix regression in StompHeaderAccessor
...
Issue: SPR-16265
8 years ago
Juergen Hoeller
f861f182fa
Reduce access on headers for STOMP messaging
...
Issue: SPR-16165
8 years ago
Juergen Hoeller
6f65b638de
Defensive resolution of getParameterType (actually never returning null)
...
Covers use of ResolvableType in overridden getParameterType variants.
Issue: SPR-16072
8 years ago
Tom Fitzhenry
1a1d767d59
Fix typo in exception message: quite -> quiet
...
Closes gh-1547
8 years ago
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
8 years ago
Juergen Hoeller
d11bd64e0d
TaskExecutorRegistration does not apply its default settings to a user-provided executor
...
Also, ChannelRegistration.setInterceptors is deprecated now: in favor of a fluently named interceptors(...) method which is documented to add the given interceptors to the channel's current list.
Issue: SPR-15962
Issue: SPR-15976
(cherry picked from commit ac9cfef)
8 years ago
Stephane Nicoll
35af7ff854
Reuse JmsTemplate's MessageConverter in JmsMessagingTemplate
...
This commit makes sure that any custom MessageConverter set in a
JmsTemplate used by a JmsMessagingTemplate is reused as the payload
converter of the message.
Issue: SPR-15965
(cherry picked from commit b275a06)
8 years ago
Juergen Hoeller
17f42fc97a
Polishing
8 years ago
Juergen Hoeller
07a0a31565
Heart-beat log message potentially without session id
...
Issue: SPR-15937
(cherry picked from commit aa4ae7a)
8 years ago
Juergen Hoeller
c752ba5b38
Polishing
9 years ago
Juergen Hoeller
121a3bf670
Always invoke Jackson serialization with AtomicReference cause
...
Issue: SPR-15760
(cherry picked from commit 5f767a8)
9 years ago
Juergen Hoeller
e4031f290e
Efficient log checks in STOMP encoder/decoder
...
(cherry picked from commit 122ee30)
9 years ago
Juergen Hoeller
fa09cd3737
Avoid inefficient keySet iteration in messaging classes
...
Issue: SPR-15553
9 years ago
Juergen Hoeller
be93ee77e4
Debug-level log entry for any Jackson exception during canConvert
...
Issue: SPR-15582
9 years ago
Christoph Dreis
6aeb8ef56d
Optimize DefaultUserDestinationResolver.resolveDestination()
...
Issue: SPR-15602
9 years ago
Rossen Stoyanchev
8deec9569c
Protect against NPE in DefaultSubscriptionRegistry
...
Follow-up fix on the recent commit:
https://github.com/spring-projects/spring-framework/commit/4fc41e
Issue: SPR-15543
9 years ago
Bao Tran
4fc41eeeb9
Fix duplicate STOMP subscription id issue
...
Issue: SPR-15543
9 years ago
Juergen Hoeller
597fe0720f
HandlerMethod evaluates ResponseStatus annotation for early caching
...
Issue: SPR-15227
(cherry picked from commit 5986f88)
9 years ago
stonio
1db42081e5
Use String#isEmpty()
...
Closes gh-1335
(cherry picked from commit 7d062df)
9 years ago
Juergen Hoeller
34a0857628
Polishing
...
(cherry picked from commit d2cc97a )
9 years ago
Rossen Stoyanchev
ba0484fcac
Add equals/hashcode for STOMP Subscription
...
Issue: SPR-15229
9 years ago
Juergen Hoeller
9834c42b5c
MutableMessageHeaders serializes itself as regular MessageHeaders
...
Issue: SPR-15262
(cherry picked from commit 74bdcd8 )
9 years ago
Juergen Hoeller
06231721c3
Consistently support CompletionStage next to CompletableFuture
...
Issue: SPR-15258
(cherry picked from commit 50d93d3 )
9 years ago
Juergen Hoeller
3ef6697536
Refined assertion messages
...
Issue: SPR-15196
(cherry picked from commit 9b26fcd )
9 years ago
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
9 years ago
Juergen Hoeller
a98a61852f
HandlerMethod pre-resolves parameter types at construction time
...
Issue: SPR-15186
(cherry picked from commit 8038fb9 )
9 years ago
Juergen Hoeller
fcfacd9f83
Polishing
...
(cherry picked from commit f095aa2 )
9 years ago
Rossen Stoyanchev
78a23be9bc
Polish Reactor2TcpStompClient
9 years ago
Rossen Stoyanchev
48f57e3bb2
Explicitly manage event loop in Reactor2TcpStompClient
...
Reactor2TcpStompClient now explicitly manages a Netty EventLoopGroup
which prevents resource leaks on attempts to reconnect.
Issue: SPR-15035
9 years ago
Juergen Hoeller
caebe72083
Proper resolution of Optional.empty() for header arguments
...
Issue: SPR-15151
(cherry picked from commit e9db4d6 )
9 years ago
Juergen Hoeller
8656e30550
Revised InvocableHandlerMethod exception messages (controller vs endpoint vs handler)
...
Introduces dedicated MethodArgumentResolutionException for spring-messaging invocations.
Issue: SPR-15139
(cherry picked from commit 047786a )
9 years ago
Gary Russell
db7b74feac
Implement MessagingException.toString()
...
Issue: SPR-15091
Closes gh-1284
9 years ago
Juergen Hoeller
fa2bfdd326
Remove unused Log object from MessageHeaderAccessor
...
Issue: SPR-15045
(cherry picked from commit 5c48daa )
9 years ago
Juergen Hoeller
b9c4f1fa95
ResolvableType-based matching respects generic factory method return type
...
Includes consistent use of ResolvableType.resolve() wherever applicable.
Issue: SPR-15011
(cherry picked from commit 4c005e6 )
9 years ago
Rossen Stoyanchev
69ba85b051
Backport of STOMP message header encoding improvements
...
Issue: SPR-14901
9 years ago
Juergen Hoeller
a7ba63d425
Shared DefaultConversionService instance for simple fallback purposes
...
Issue: SPR-14948
(cherry picked from commit 80931b2 )
9 years ago
Christoph Dreis
8de100b116
Implement allocation-friendly method to get user count in SimpUserRegistry
...
SPR-14930
(cherry picked from commit a929e9c )
9 years ago