Juergen Hoeller
6dc1898dbb
Timeout exceptions as RuntimeExceptions
...
Issue: SPR-14669
2016-09-15 08:54:17 +02:00
Rossen Stoyanchev
3bc1121b9d
Check both connection and connected flag
...
Issue: SPR-14703
2016-09-14 17:19:49 -04:00
Juergen Hoeller
f592599349
Polishing
...
(cherry picked from commit 54db496 )
2016-09-13 23:48:41 +02:00
Juergen Hoeller
03609c1518
Consistent comma splitting without regex overhead
...
Issue: SPR-14635
2016-08-30 23:56:58 +02:00
Rossen Stoyanchev
8b4f60b8e5
Support receipt on DISCONNECT with simple broker
...
Issue: SPR-14568
2016-08-29 18:31:19 -04:00
Juergen Hoeller
899ebd8ee2
Avoid collection lookups in StompCommand
...
Issue: SPR-14636
2016-08-29 11:54:21 +02:00
Juergen Hoeller
f3f691cc37
Revised assertions in StompHeaderAccessor
...
Issue: SPR-14625
2016-08-24 21:04:01 +02:00
Juergen Hoeller
c4fff6db1b
Reintroduced MessageMethodArgumentResolver default constructor
...
Issue: SPR-14616
2016-08-23 13:20:02 +02:00
Juergen Hoeller
eeeab27f1f
Polishing
...
(cherry picked from commit 35e247a )
2016-08-10 16:42:21 +02:00
Juergen Hoeller
59a24b406a
Polishing
2016-08-10 14:20:42 +02:00
Juergen Hoeller
5db449556b
Polishing
2016-07-27 16:21:55 +02:00
Juergen Hoeller
6d5af60a7c
Expose DefaultSubscriptionRegistry's cache limit through SimpleBrokerMessageHandler and MessageBrokerRegistry
...
Issue: SPR-14516
2016-07-27 12:11:58 +02:00
Juergen Hoeller
99be15f58b
Revise encoding steps towards use of JDK Charset and StandardCharsets
...
Issue: SPR-14492
2016-07-19 23:43:06 +02:00
Juergen Hoeller
a4743c07d4
Polishing
2016-07-19 20:09:00 +02:00
Juergen Hoeller
aaac199e8b
Consistently use constructor-based instantiation instead of Class.newInstance / BeanUtils.instantiate
...
Issue: SPR-14486
2016-07-19 19:21:06 +02:00
Juergen Hoeller
b1663585dc
MessageHeaderAccessor properly removes header even in case of null value
...
Issue: SPR-14468
2016-07-15 00:15:46 +02:00
Juergen Hoeller
a1f5fb53db
Java 8 getParameterCount() instead of getParameterTypes().length
...
Issue: SPR-13188
2016-07-07 01:04:24 +02:00
Stephane Nicoll
e4b0486c5a
Add @FunctionalInterface on candidate interfaces
...
Issue: SPR-14432
2016-07-06 14:32:13 +02:00
Stephane Nicoll
00d2606b00
Explicit type can be replaced by <>
...
Issue: SPR-13188
2016-07-05 17:00:34 +02:00
Juergen Hoeller
b5db5d3aac
Broadly remove deprecated core classes and methods
...
Issue: SPR-14430
2016-07-05 15:52:49 +02:00
Juergen Hoeller
51252ebbca
Avoid defensive checks against Java 8 API (java.util.Optional etc)
...
This commit also fixes broken javadoc links and code references.
Issue: SPR-13188
2016-07-05 02:09:00 +02:00
Juergen Hoeller
f6334fc62b
Aligned default Map capacity
2016-07-02 15:17:34 +02:00
Juergen Hoeller
b204437cef
Polishing
2016-07-02 14:48:15 +02:00
Juergen Hoeller
e5122d084a
Avoid wrapping in plain RuntimeException in favor of IllegalStateException
2016-07-02 13:03:33 +02:00
Juergen Hoeller
e5de7d5455
@MessageExceptionHandler matches cause as well (analogous to @ExceptionHandler)
...
Issue: SPR-14424
2016-07-02 12:56:37 +02:00
Juergen Hoeller
cfc560c4c4
Leniently accept custom DeferredResult etc subclasses for null values
...
Issue: SPR-14423
2016-07-02 12:55:30 +02:00
Rossen Stoyanchev
ebdc770ed3
Use appropriate message id header for STOMP 1.1 vs 1.2
...
Issue: SPR-14391
2016-06-27 16:12:59 -04:00
Juergen Hoeller
f5282bc1e3
PayloadArgumentResolver's MessageConversionException includes original payload type
...
Issue: SPR-14394
2016-06-23 17:32:30 +02:00
Juergen Hoeller
a9fda3e7e2
Defensive catching of any Throwable subclasses instead of just Error
...
Issue: SPR-14329
2016-06-04 00:17:20 +02:00
Juergen Hoeller
e4976a2c6d
ExecutorSubscribableChannel consistently rethrows Error as MessageDeliveryException
...
Issue: SPR-14323
2016-06-01 11:38:56 +02:00
Rossen Stoyanchev
1e003a1c90
Remove unnecessary assertion
...
Issue: SPR-14279
2016-05-18 10:57:54 -04:00
Rossen Stoyanchev
4a81aaba6c
Fix STOMP connect failure related memory leak
...
Normally heartbeats keep connections from hanging. However in some
cases a connection may hang before a CONNECTED frame is received
and heartbeats are put in place. This commit adds a change to enforce
a 60 limit on receiving the CONNECTED frame.
Issue: SPR-14266
2016-05-12 11:24:50 -04:00
Juergen Hoeller
c15f27cfa8
Avoid package import cycle through explicit javadoc reference
2016-05-06 13:41:02 +02:00
Rossen Stoyanchev
46e41a9d94
Consolidate SendTo vs SendToUser detection
...
SendTo and SendToUser are treated as mutually exclusive. The addition of
type-level support in 4.3. RC1 however did not consider the possibility
to mix and match of the two betwee type and method level.
This commit consolidates the detection of SendTo and SendToUser
annotations and considers them all together.
Issue: SPR-14238
2016-05-03 12:34:19 -04:00
Juergen Hoeller
f83cbff543
Consistent SmartLifecycle implementations
...
Issue: SPR-14233
2016-05-02 13:01:44 +02:00
Rossen Stoyanchev
bd40a93604
Ensure Environment.shutdown() in Reactor2TcpClient
...
Issue: SPR-14229
2016-04-28 17:47:59 -04:00
Rossen Stoyanchev
220711d45b
Reactor2TcpClient cleans up TcpClient instances
...
Issue: SPR-14231
2016-04-28 15:27:53 -04:00
Rossen Stoyanchev
9798912557
Add missing @since tag
2016-04-26 16:48:45 -04:00
Rossen Stoyanchev
06b2d2b89e
STOMP client session supports sending ack/nack
...
Issue: SPR-14208
2016-04-26 16:44:58 -04:00
Johnny Lim
44e652f99e
Remove duplicate words
...
Closes gh-1039
2016-04-19 08:24:21 +02:00
Juergen Hoeller
f1cb793ccb
Rename MimeType's getCharSet() to getCharset()
...
Issue: SPR-14172
2016-04-14 16:38:59 +02:00
Juergen Hoeller
5f4e838f41
Jackson-based message converters do not log warning for serializer not found
...
Issue: SPR-14163
2016-04-14 14:13:13 +02:00
Juergen Hoeller
5025c615b1
Consistent use of AnnotatedElementUtils.findMergedAnnotation/hasAnnotation
...
Issue: SPR-13440
2016-03-23 18:39:20 +01:00
Rossen Stoyanchev
183594207f
Support user destinations without leading slash
...
Before this commit the DefaultUserDestinationResolver did not support
well broker destinations that use dot as separator with a built in
assumptions that the destinations it resolves must start with slash.
This change adds PathMatcher property that is used to determine if
an alternative path separator is in use and if so the leading slash is
left out.
Issue: SPR-14044
2016-03-15 17:50:13 -04:00
Rossen Stoyanchev
68f6cf9d3a
Support same user connected to multiple servers
...
The MultiServerUserRegistry now supports scenarios where the same user
is connected to multiple servers. For such cases the SimpUser returned
from the registry exposes all sessions across all servers.
Issue: SPR-13800
2016-03-10 14:37:22 -05:00
Rossen Stoyanchev
6aa216afb6
Polish SimpUserRegistry related classes
...
Issue: SPR-13800
2016-03-10 14:37:22 -05:00
Rossen Stoyanchev
18a59dad52
Minor Javadoc update
2016-02-18 18:11:59 -05:00
Rossen Stoyanchev
416966d943
Support Message argument with payload conversion
...
The MessageMethodArgumentResolver now also supports applying a
MessageConverter to the payload.
This is effectively a shortcut for declaring a method with an @Payload
argument + MessageHeaders and then creating a new message from the two.
Issue: SPR-13288
2016-02-18 18:09:16 -05:00
Rossen Stoyanchev
ec3571fd4d
Polish
2016-02-18 18:09:16 -05:00
Juergen Hoeller
e0d7c6be00
Name attributes in method argument annotations allow for placeholders and expressions
...
Issue: SPR-13952
2016-02-17 22:59:12 +01:00