Juergen Hoeller
3726c6f18d
Polishing
8 years ago
Juergen Hoeller
eafaaa5cb8
Polishing
8 years ago
Juergen Hoeller
ffc781b163
Explicit calls on Buffer base type (for compatibility with covariant return type on JDK 9's ByteBuffer)
...
Issue: SPR-14645
8 years ago
Juergen Hoeller
fb7ae010c8
Avoid unnecessary generics on emptyMap/Set/List
8 years ago
Juergen Hoeller
a6b0b6e279
Efficient STOMP content-length header check
...
Issue: SPR-14747
8 years ago
Juergen Hoeller
c64f39943f
Polishing
8 years ago
Juergen Hoeller
e188b4428e
Polishing
8 years ago
Christoph Dreis
774e4c3dc1
Improve performance of StompEncoder
...
Fixes SPR-14747
8 years ago
Rossen Stoyanchev
99c7917124
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
8 years ago
Juergen Hoeller
6dc1898dbb
Timeout exceptions as RuntimeExceptions
...
Issue: SPR-14669
8 years ago
Rossen Stoyanchev
3bc1121b9d
Check both connection and connected flag
...
Issue: SPR-14703
8 years ago
Juergen Hoeller
f592599349
Polishing
...
(cherry picked from commit 54db496
)
8 years ago
Juergen Hoeller
03609c1518
Consistent comma splitting without regex overhead
...
Issue: SPR-14635
8 years ago
Rossen Stoyanchev
8b4f60b8e5
Support receipt on DISCONNECT with simple broker
...
Issue: SPR-14568
8 years ago
Juergen Hoeller
899ebd8ee2
Avoid collection lookups in StompCommand
...
Issue: SPR-14636
8 years ago
Juergen Hoeller
dfdfd72a3e
Polishing
...
(cherry picked from commit 430180a
)
8 years ago
Juergen Hoeller
2e4a7480fc
Consistent use of JDK 7 StandardCharsets over Charset.forName
...
Issue: SPR-14492
8 years ago
Juergen Hoeller
14046575b0
Polishing
8 years ago
Juergen Hoeller
f3f691cc37
Revised assertions in StompHeaderAccessor
...
Issue: SPR-14625
8 years ago
Juergen Hoeller
c4fff6db1b
Reintroduced MessageMethodArgumentResolver default constructor
...
Issue: SPR-14616
8 years ago
Juergen Hoeller
eeeab27f1f
Polishing
...
(cherry picked from commit 35e247a
)
8 years ago
Juergen Hoeller
59a24b406a
Polishing
8 years ago
Juergen Hoeller
5db449556b
Polishing
8 years ago
Juergen Hoeller
6d5af60a7c
Expose DefaultSubscriptionRegistry's cache limit through SimpleBrokerMessageHandler and MessageBrokerRegistry
...
Issue: SPR-14516
8 years ago
Juergen Hoeller
e03dea1d64
Polishing
8 years ago
Marius Grama
3635c9dbfe
Update xmlunit library to version 2.1.0
...
xmlunit 2.1.0 is the latest release for xmlunit.
Most of the xmlunit functionality used within spring-framework
was done through the xmlunit 1.x helper class
`org.custommonkey.xmlunit.XMLAssert`.
As of xmlunit 2.0.0 most of the XML comparison methods are done
through hamcrest matchers exposed by the xmlunit-matchers
library. In some cases during the migration, the matchers
had to be customized with custom `NodeMatcher` or
`DifferenceEvaluator` instances in order to keep the assertions
correct (they were performed with xmlunit 1.x previously).
Issue: SPR-14043
8 years ago
Juergen Hoeller
99be15f58b
Revise encoding steps towards use of JDK Charset and StandardCharsets
...
Issue: SPR-14492
8 years ago
Juergen Hoeller
a4743c07d4
Polishing
8 years ago
Juergen Hoeller
aaac199e8b
Consistently use constructor-based instantiation instead of Class.newInstance / BeanUtils.instantiate
...
Issue: SPR-14486
8 years ago
Juergen Hoeller
b1663585dc
MessageHeaderAccessor properly removes header even in case of null value
...
Issue: SPR-14468
8 years ago
Juergen Hoeller
a1f5fb53db
Java 8 getParameterCount() instead of getParameterTypes().length
...
Issue: SPR-13188
8 years ago
Stephane Nicoll
e4b0486c5a
Add @FunctionalInterface on candidate interfaces
...
Issue: SPR-14432
8 years ago
Sam Brannen
1391248ea6
Introduce log4j 2 for Spring's test suite
...
This commit adds a test runtime dependency on log4j 2 for every project
and migrates all log4j.properties files to log4j2-test.xml files.
Issue: SPR-14431
8 years ago
Stephane Nicoll
00d2606b00
Explicit type can be replaced by <>
...
Issue: SPR-13188
8 years ago
Juergen Hoeller
b5db5d3aac
Broadly remove deprecated core classes and methods
...
Issue: SPR-14430
8 years ago
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
8 years ago
Juergen Hoeller
f6334fc62b
Aligned default Map capacity
8 years ago
Juergen Hoeller
b204437cef
Polishing
8 years ago
Juergen Hoeller
e5122d084a
Avoid wrapping in plain RuntimeException in favor of IllegalStateException
8 years ago
Juergen Hoeller
e5de7d5455
@MessageExceptionHandler matches cause as well (analogous to @ExceptionHandler )
...
Issue: SPR-14424
8 years ago
Juergen Hoeller
cfc560c4c4
Leniently accept custom DeferredResult etc subclasses for null values
...
Issue: SPR-14423
8 years ago
Rossen Stoyanchev
ebdc770ed3
Use appropriate message id header for STOMP 1.1 vs 1.2
...
Issue: SPR-14391
9 years ago
Juergen Hoeller
f5282bc1e3
PayloadArgumentResolver's MessageConversionException includes original payload type
...
Issue: SPR-14394
9 years ago
Juergen Hoeller
a9fda3e7e2
Defensive catching of any Throwable subclasses instead of just Error
...
Issue: SPR-14329
9 years ago
Juergen Hoeller
e4976a2c6d
ExecutorSubscribableChannel consistently rethrows Error as MessageDeliveryException
...
Issue: SPR-14323
9 years ago
Rossen Stoyanchev
1e003a1c90
Remove unnecessary assertion
...
Issue: SPR-14279
9 years ago
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
9 years ago
Juergen Hoeller
c15f27cfa8
Avoid package import cycle through explicit javadoc reference
9 years ago
Sam Brannen
7b13311f03
Delete unused imports
9 years ago
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
9 years ago