Commit Graph

440 Commits

Author SHA1 Message Date
Juergen Hoeller
8174f3bfca Polishing
(cherry picked from commit 29a9461)
2016-10-12 18:10:04 +02:00
Juergen Hoeller
8bdb1b0981 Polishing
(cherry picked from commit d04567b)
2016-09-26 18:48:44 +02:00
Juergen Hoeller
02d83cedea Efficient STOMP content-length header check
Issue: SPR-14747
(cherry picked from commit f2e1e1b)
2016-09-26 17:36:11 +02:00
Juergen Hoeller
6577faa2da StompEncoder performance improvement plus related polishing
Issue: SPR-14747
(cherry picked from commit 6c764f6)
2016-09-26 16:57:21 +02:00
Rossen Stoyanchev
62b02c23ab 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:04:55 -04:00
Juergen Hoeller
c9943aacc5 Timeout exceptions as RuntimeExceptions
Issue: SPR-14669
(cherry picked from commit e947363)
2016-09-15 10:05:04 +02:00
Rossen Stoyanchev
114b2b63b1 Check both connection and connected flag
Issue: SPR-14703
2016-09-14 17:26:13 -04:00
Juergen Hoeller
404e7cda7e Polishing 2016-09-13 23:31:09 +02:00
Juergen Hoeller
458d49bdb8 Polishing
(cherry picked from commit acbb254)
2016-08-31 01:31:06 +02:00
Juergen Hoeller
aa12288d50 Avoid collection lookups in StompCommand
Issue: SPR-14636
(cherry picked from commit 8e98177)
2016-08-31 01:30:55 +02:00
Rossen Stoyanchev
cc33bfaf61 Support receipt on DISCONNECT with simple broker
Issue: SPR-14568
2016-08-29 18:32:33 -04:00
Juergen Hoeller
db037e490a Revised assertions in StompHeaderAccessor
Issue: SPR-14625
(cherry picked from commit c2feedb)
2016-08-24 23:49:22 +02:00
Juergen Hoeller
96f1a0ecae Polishing 2016-08-18 10:50:56 +02:00
Juergen Hoeller
7b33cd6476 Polishing
(cherry picked from commit 67ba187)
2016-08-10 15:50:47 +02:00
Juergen Hoeller
fbc45ed7b6 Polishing 2016-07-27 12:51:24 +02:00
Juergen Hoeller
b5127dc152 Polishing 2016-07-20 22:16:35 +02:00
Juergen Hoeller
392f9c8deb Javadoc fixes and pruning of deprecated references
(cherry picked from commit 69dd40e)
2016-07-15 23:01:14 +02:00
Juergen Hoeller
4be5541c0e MessageHeaderAccessor properly removes header even in case of null value
Issue: SPR-14468
(cherry picked from commit 4ea5f07)
2016-07-15 17:09:13 +02:00
Juergen Hoeller
0445ce6c53 Polishing (backported from master)
(cherry picked from commit 92d78c1)
2016-07-06 17:35:30 +02:00
Juergen Hoeller
a637213246 Aligned default Map capacity 2016-07-02 15:15:09 +02:00
Juergen Hoeller
fa624cd095 Avoid wrapping in plain RuntimeException in favor of IllegalStateException
(cherry picked from commit e5122d0)
2016-07-02 14:07:18 +02:00
Juergen Hoeller
4ddd9572f7 Leniently accept custom DeferredResult etc subclasses for null values
Issue: SPR-14423
(cherry picked from commit cfc560c)
2016-07-02 14:07:04 +02:00
Juergen Hoeller
07c9c55fd3 PayloadArgumentResolver's MessageConversionException includes original payload type
Issue: SPR-14394
(cherry picked from commit f5282bc)
2016-06-29 14:47:20 +02:00
Juergen Hoeller
e219576414 Defensive catching of any Throwable subclasses instead of just Error
Issue: SPR-14329
Issue: SPR-14323
(cherry picked from commit a9fda3e)
2016-06-04 00:27:24 +02:00
Rossen Stoyanchev
28321946bf Remove unnecessary assertion
Issue: SPR-14279
2016-05-22 06:23:57 -04:00
Rossen Stoyanchev
b5022108c7 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-13 07:47:11 -04:00
Juergen Hoeller
85675fbe2e Consistent SmartLifecycle implementations
Issue: SPR-14233
(cherry picked from commit f83cbff)
2016-05-02 14:07:32 +02:00
Rossen Stoyanchev
f7ace54488 Ensure Environment.shutdown() in Reactor2TcpClient
Issue: SPR-14229
2016-04-28 17:48:38 -04:00
Rossen Stoyanchev
d48eeb2c84 Reactor2TcpClient cleans up TcpClient instances
Issue: SPR-14231
2016-04-28 15:48:13 -04:00
Juergen Hoeller
334b4a99b0 Jackson-based message converters consistently check media type first
Issue: SPR-14163
2016-04-14 14:22:23 +02:00
Juergen Hoeller
19c5462b13 Polishing 2016-02-10 20:48:10 +01:00
Juergen Hoeller
30ef893c28 Polishing 2016-01-26 22:23:56 +01:00
Juergen Hoeller
6f2f3595e9 Backported import and declaration cleanup 2015-12-18 00:18:09 +01:00
Juergen Hoeller
753347ea98 Consistent static final logger declarations 2015-12-16 20:44:00 +01:00
Juergen Hoeller
bdb606b8b1 Polishing 2015-12-13 23:27:05 +01:00
Juergen Hoeller
beef5ff4c3 Polishing 2015-12-10 01:12:58 +01:00
Juergen Hoeller
ca9a078d82 Polishing 2015-12-10 00:31:37 +01:00
Juergen Hoeller
f119962378 SimpAnnotationMethodMessageHandler ignores empty marker annotations
Issue: SPR-13704
2015-12-10 00:30:50 +01:00
Juergen Hoeller
11806b9215 Class identity comparisons wherever possible (and further polishing)
Issue: SPR-12926
2015-12-09 12:28:09 +01:00
Juergen Hoeller
8c4436926f Polishing 2015-11-26 02:09:37 +01:00
Juergen Hoeller
a0747c2148 Consistent bean type checking for endpoint handlers
Issue: SPR-13725
2015-11-25 21:26:03 +01:00
Juergen Hoeller
e8417ea6e1 SimpAnnotationMethodMessageHandler skips template variable check in case of no pattern
Issue: SPR-13704
2015-11-24 17:37:12 +01:00
Juergen Hoeller
760bc719f2 Polishing 2015-11-09 15:03:14 +01:00
Juergen Hoeller
bc7bcab578 Consistent method selection for listeners and endpoint mappings
Issue: SPR-13654
2015-11-09 14:57:45 +01:00
Juergen Hoeller
23c8f712c4 Polishing 2015-11-02 21:30:03 +01:00
Juergen Hoeller
cca037a74d Polishing 2015-11-02 14:42:46 +01:00
Sebastien Deleuze
994a11da3e Document default charset in Jackson message converters Javadoc
Issue: SPR-13600
2015-10-26 11:39:00 +01:00
Rossen Stoyanchev
922e6de788 Avoid filtering if selector header is not in use 2015-10-13 12:14:17 -04:00
Rossen Stoyanchev
7ff915a01a Enforce cacheLimit in DefaultSubscriptionRegistry
When the cacheLimit is reached and there is an eviction from the
updateCache, the accessCache is now also updated.

This change also ensures that adding a destination to the cache is
protected with synchronization on the updateCache.

Issue: SPR-13555
2015-10-13 12:14:16 -04:00
Juergen Hoeller
181533c464 MessageHeaders serialization preserves non-serializable entries in original instance
Issue: SPR-13541
2015-10-06 13:24:05 +02:00