Juergen Hoeller
cc70fdcbeb
Backport further refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 15:20:17 +02:00
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 00:10:04 +02:00
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 )
2017-09-26 23:58:57 +02:00
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 )
2017-09-26 23:58:03 +02:00
Juergen Hoeller
17f42fc97a
Polishing
2017-09-08 19:42:32 +02:00
Juergen Hoeller
07a0a31565
Heart-beat log message potentially without session id
...
Issue: SPR-15937
(cherry picked from commit aa4ae7a )
2017-09-08 19:39:05 +02:00
Juergen Hoeller
c752ba5b38
Polishing
2017-07-19 23:55:47 +02:00
Juergen Hoeller
121a3bf670
Always invoke Jackson serialization with AtomicReference cause
...
Issue: SPR-15760
(cherry picked from commit 5f767a8 )
2017-07-12 22:59:29 +02:00
Juergen Hoeller
e4031f290e
Efficient log checks in STOMP encoder/decoder
...
(cherry picked from commit 122ee30)
2017-07-12 22:59:18 +02:00
Juergen Hoeller
fa09cd3737
Avoid inefficient keySet iteration in messaging classes
...
Issue: SPR-15553
2017-06-07 17:56:51 +02:00
Juergen Hoeller
be93ee77e4
Debug-level log entry for any Jackson exception during canConvert
...
Issue: SPR-15582
2017-06-07 17:56:47 +02:00
Christoph Dreis
6aeb8ef56d
Optimize DefaultUserDestinationResolver.resolveDestination()
...
Issue: SPR-15602
2017-06-01 16:08:49 -04:00
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
2017-05-22 16:12:49 -04:00
Bao Tran
4fc41eeeb9
Fix duplicate STOMP subscription id issue
...
Issue: SPR-15543
2017-05-19 15:15:01 -04:00
Juergen Hoeller
597fe0720f
HandlerMethod evaluates ResponseStatus annotation for early caching
...
Issue: SPR-15227
(cherry picked from commit 5986f88 )
2017-04-13 15:54:35 +02:00
stonio
1db42081e5
Use String#isEmpty()
...
Closes gh-1335
(cherry picked from commit 7d062df )
2017-02-22 16:31:35 +01:00
Juergen Hoeller
34a0857628
Polishing
...
(cherry picked from commit d2cc97a )
2017-02-21 23:03:16 +01:00
Rossen Stoyanchev
ba0484fcac
Add equals/hashcode for STOMP Subscription
...
Issue: SPR-15229
2017-02-21 15:10:27 -05:00
Juergen Hoeller
9834c42b5c
MutableMessageHeaders serializes itself as regular MessageHeaders
...
Issue: SPR-15262
(cherry picked from commit 74bdcd8 )
2017-02-18 00:51:02 +01:00
Juergen Hoeller
06231721c3
Consistently support CompletionStage next to CompletableFuture
...
Issue: SPR-15258
(cherry picked from commit 50d93d3 )
2017-02-16 14:20:02 +01:00
Juergen Hoeller
3ef6697536
Refined assertion messages
...
Issue: SPR-15196
(cherry picked from commit 9b26fcd )
2017-01-31 16:07:09 +01:00
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
2017-01-31 10:28:46 +01:00
Juergen Hoeller
a98a61852f
HandlerMethod pre-resolves parameter types at construction time
...
Issue: SPR-15186
(cherry picked from commit 8038fb9 )
2017-01-25 11:12:27 +01:00
Juergen Hoeller
fcfacd9f83
Polishing
...
(cherry picked from commit f095aa2 )
2017-01-23 23:47:01 +01:00
Rossen Stoyanchev
78a23be9bc
Polish Reactor2TcpStompClient
2017-01-18 11:46:36 -05:00
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
2017-01-17 14:19:36 -05:00
Juergen Hoeller
caebe72083
Proper resolution of Optional.empty() for header arguments
...
Issue: SPR-15151
(cherry picked from commit e9db4d6 )
2017-01-17 11:04:43 +01:00
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 )
2017-01-16 22:43:48 +01:00
Juergen Hoeller
7f127300f9
Polishing
2017-01-12 23:43:27 +01:00
Juergen Hoeller
1521094c5b
MimeTypeUtils constants cleanup: deprecated web media types
...
Issue: SPR-15137
2017-01-12 23:43:00 +01:00
Gary Russell
db7b74feac
Implement MessagingException.toString()
...
Issue: SPR-15091
Closes gh-1284
2017-01-05 10:25:55 +01:00
Juergen Hoeller
fa2bfdd326
Remove unused Log object from MessageHeaderAccessor
...
Issue: SPR-15045
(cherry picked from commit 5c48daa )
2016-12-22 23:44:34 +01:00
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 )
2016-12-19 01:12:14 +01:00
Rossen Stoyanchev
69ba85b051
Backport of STOMP message header encoding improvements
...
Issue: SPR-14901
2016-12-08 11:33:16 -05:00
Juergen Hoeller
a7ba63d425
Shared DefaultConversionService instance for simple fallback purposes
...
Issue: SPR-14948
(cherry picked from commit 80931b2 )
2016-12-01 14:10:39 +01:00
Christoph Dreis
8de100b116
Implement allocation-friendly method to get user count in SimpUserRegistry
...
SPR-14930
(cherry picked from commit a929e9c )
2016-12-01 14:09:43 +01:00
Rossen Stoyanchev
9755ae3cbe
PayloadArgumentResolver has useDefaultResolution flag
...
Issue: SPR-14937
2016-11-28 17:02:03 -05:00
Juergen Hoeller
7e7504f5ea
Polishing
2016-11-03 23:20:33 +01:00
Juergen Hoeller
144f687ee9
Polishing
...
(cherry picked from commit 2f9ed59 )
2016-10-31 11:50:36 +01:00
Juergen Hoeller
0ee8322947
Revised NoSuchBeanDefinitionException message and ResolvableType handling
...
Includes consistent quoting of qualified type names in related classes.
Issue: SPR-14831
(cherry picked from commit dc080cb )
2016-10-31 11:50:15 +01:00
Juergen Hoeller
9de28d640e
Polishing
...
(cherry picked from commit 3726c6f )
2016-10-21 12:59:59 +02:00
Juergen Hoeller
29a946163b
Polishing
...
(cherry picked from commit eafaaa5 )
2016-10-12 17:48:33 +02:00
Juergen Hoeller
d04567b99c
Polishing
2016-09-26 18:19:04 +02:00
Juergen Hoeller
f2e1e1b890
Efficient STOMP content-length header check
...
Issue: SPR-14747
(cherry picked from commit a6b0b6e )
2016-09-26 17:30:45 +02:00
Juergen Hoeller
6c764f6b8a
StompEncoder performance improvement plus related polishing
...
Issue: SPR-14747
2016-09-26 16:33:29 +02:00
Rossen Stoyanchev
81f6c22e51
Reset connection before delegating to handler
...
Resetting the connection first before invoking a failure callback on
the application handler ensures that any checks to isConnected will
return false.
Issue: SPR-14721
2016-09-19 09:06:11 -04:00
Juergen Hoeller
e947363a11
Timeout exceptions as RuntimeExceptions
...
Issue: SPR-14669
(cherry picked from commit 6dc1898 )
2016-09-15 09:05:14 +02:00
Rossen Stoyanchev
07d5f8b123
Check both connection and connected flag
...
Issue: SPR-14703
2016-09-14 17:23:36 -04:00
Juergen Hoeller
54db496815
Polishing
...
(cherry picked from commit 404e7cd )
2016-09-13 23:43:58 +02:00
Juergen Hoeller
d8f7347000
Consistent comma splitting without regex overhead
...
Issue: SPR-14635
(cherry picked from commit 03609c1 )
2016-08-31 00:44:52 +02:00