Juergen Hoeller
c4f5a0fb10
MessagingException provides null description (instead of empty String) to NestedRuntimeException
...
Issue: SPR-13447
2015-09-09 11:42:59 +02:00
Juergen Hoeller
667fc7e4a9
Polishing
2015-09-04 14:38:47 +02:00
Rossen Stoyanchev
4ecb3d4f3f
Update WebSocket docs on proxying @Controller
...
Issue: SPR-13384
2015-08-25 22:14:36 -04:00
Juergen Hoeller
8cd283729b
MessageHeaders returns completely immutable entry set (no entry.setValue call allowed)
...
Issue: SPR-13385
2015-08-25 17:54:54 +02:00
Juergen Hoeller
3d2e2cb3ae
Upgrade to Reactor 2.0.5
2015-08-17 13:00:29 +02:00
Juergen Hoeller
a369fc8afd
Introduce SmartMessageConverter interface with conversionHint arguments
...
Issue: SPR-13343
2015-08-12 17:45:46 +02:00
Juergen Hoeller
9ef38807e6
Polishing
2015-07-30 19:34:33 +02:00
Juergen Hoeller
b1d6ae77e1
Polishing
2015-07-30 00:08:36 +02:00
Sam Brannen
725292081e
Introduce 'value' alias for 'attribute' in @AliasFor
...
SPR-11512 introduced support for annotation attribute aliases via
@AliasFor, requiring the explicit declaration of the 'attribute'
attribute. However, for aliases within an annotation, this explicit
declaration is unnecessary.
This commit improves the readability of alias pairs declared within an
annotation by introducing a 'value' attribute in @AliasFor that is an
alias for the existing 'attribute' attribute. This allows annotations
such as @ContextConfiguration from the spring-test module to declare
aliases as follows.
public @interface ContextConfiguration {
@AliasFor("locations")
String[] value() default {};
@AliasFor("value")
String[] locations() default {};
// ...
}
Issue: SPR-13289
2015-07-29 15:27:06 +02:00
Juergen Hoeller
02d05ed133
Consistent lookup of parameter-level JsonView annotation
...
Issue: SPR-13265
2015-07-29 01:05:25 +02:00
Juergen Hoeller
d83735694e
Polishing
2015-07-28 12:15:48 +02:00
Rossen Stoyanchev
4b4efa9f6e
Placeholder support for STOMP @MessageMapping methods
...
Issue: SPR-13271
2015-07-27 16:54:21 -04:00
Rossen Stoyanchev
a65e0369f4
Polish SimpAnnotationMethodMessageHandlerTests
2015-07-27 16:54:21 -04:00
Juergen Hoeller
0f54f686b2
PayloadArgumentResolver supports JsonView as well (through AbstractMessageConverter revision)
...
AbstractMessageConverter provides overloaded methods with a conversion hint, MappingJackson2MessageConverter takes that hint into account, and SimpMessagingTemplate transformes such a hint in the given headers map into an explicit argument invocation argument.
Issue: SPR-13265
2015-07-24 17:50:31 +02:00
Juergen Hoeller
f06581f5b8
Polishing
2015-07-22 14:20:12 +02:00
Juergen Hoeller
edd6e76b9f
Polishing
2015-07-21 22:58:34 +02:00
Juergen Hoeller
203f1225c3
Polishing
2015-07-17 15:25:43 +02:00
Juergen Hoeller
2a36abcaea
Polishing
2015-07-07 16:44:19 +02:00
Sebastien Deleuze
97936140cc
Support HandlerMethod parameter in @MessageExceptionHandler
...
Issue: SPR-13196
2015-07-07 15:43:39 +02:00
Juergen Hoeller
f79a5c12d5
DefaultSubscriptionRegistry defensively checks for removal between keySet and get calls
...
Issue: SPR-13205
2015-07-07 11:11:56 +02:00
Juergen Hoeller
fefc4b478f
Polishing
2015-07-07 02:22:44 +02:00
Juergen Hoeller
145d88d152
Polishing
2015-07-07 00:26:31 +02:00
Juergen Hoeller
f0175bc42d
DefaultSubscriptionRegistry uses deep LinkedMultiValueMap copies between accessCache and updateCache
...
Issue: SPR-13185
2015-07-07 00:25:47 +02:00
Rossen Stoyanchev
16cbfcfd2f
Add test to demonstrate 4.2 not affected by SPR-13185
...
Issue: SPR-13185
2015-07-06 17:32:55 -04:00
Rossen Stoyanchev
0b43e4e4f2
Add concurrent test and fix potential NPE
...
After SPR-12884 (4.2 RC1) introduced support for a selector header
expression on SUBSCRIBE frames, messages from the destination cache
are further filtered based on the selector expression. While adding a
test to find subscriptions at the same time as unsubscribing, a
potential NPE was exposed. This commit fixes the NPE.
Issue: SPR-13204
2015-07-06 17:07:20 -04:00
Rossen Stoyanchev
5dcbc5db29
Polish DefaultSubscriptionRegistryTests
2015-07-06 17:07:20 -04:00
Juergen Hoeller
dc1f921f5c
Split between basic MethodParameter and SynthesizingMethodParameter
...
This split avoids a package tangle (between core and core.annotation) and also allows for selective use of raw annotation exposure versus synthesized annotations, with the latter primarily applicable to web and message handler processing at this point.
Issue: SPR-13153
2015-06-30 00:02:02 +02:00
Sam Brannen
078d252d1e
Delete trailing whitespace in Java source code
2015-06-19 17:09:52 +02:00
Rossen Stoyanchev
1153969ea2
Polish
2015-06-15 14:56:56 -04:00
Josh King
11824893a9
Header values are optional in Stomp 1.1 and 1.2
2015-06-15 14:56:56 -04:00
Sam Brannen
ab24592662
Introduce alias for 'value' attribute in @SendToUser
...
Issue: SPR-11393
2015-06-01 14:14:23 +02:00
Sam Brannen
53d095aa28
Polish Javadoc for @SubscribeMapping
2015-06-01 13:56:44 +02:00
Sam Brannen
a6f53ef2a7
Polish Javadoc for @MessageMapping
2015-06-01 13:37:08 +02:00
Sam Brannen
7b10dc6e93
Fix typo in Javadoc
2015-05-29 23:24:09 +02:00
Sam Brannen
60a5ec87d0
Introduce alias for 'value' attribute in @Header
...
This commit introduces 'name' as an alias for 'value' in @Header.
Issue: SPR-11393
2015-05-29 23:23:52 +02:00
Sam Brannen
35c3e7c0f3
Polishing
2015-05-29 23:10:25 +02:00
Sam Brannen
250787a35a
Introduce alias for 'value' attribute in @Payload
...
This commit introduces 'expression' as an alias for 'value' in @Payload.
Issue: SPR-11393
2015-05-29 22:58:55 +02:00
Sam Brannen
7018747cec
Remove trailing whitespace in Java source code
2015-05-29 02:03:44 +02:00
Juergen Hoeller
05d475a275
Polishing
2015-05-22 23:50:47 +02:00
Rossen Stoyanchev
bbd3f902d0
Fix failing tests
2015-05-22 14:14:20 -04:00
Rossen Stoyanchev
c48e8708a7
Fix NPE in DefaultSimpUserRegistry
2015-05-22 13:44:09 -04:00
Rossen Stoyanchev
92bd7bba50
Restore userSessionRegistry field in StompSubProtocolHandler
...
This change ensures that the deprecated UserSessionRegistry is still
used if configured.
2015-05-22 13:44:09 -04:00
Rossen Stoyanchev
0db216daab
Polish
2015-05-22 09:06:18 -04:00
Sebastien Deleuze
5255e7ae21
Support CompletableFuture in @MessageMapping handler methods
...
Issue: SPR-12207
2015-05-22 11:30:56 +02:00
Sebastien Deleuze
d3db99c201
Support ListenableFuture in @MessageMapping handler methods
...
This commit introduces support for asynchronous return values thanks
to the new AsyncHandlerMethodReturnValueHandler interface. Out of
the box support for ListenableFuture is also provided.
Issue: SPR-12168
2015-05-22 11:29:13 +02:00
Juergen Hoeller
b4095c3e1d
Class identity comparisons wherever possible
...
Issue: SPR-12926
2015-05-20 14:34:16 +02:00
Sebastien Deleuze
876c9694c4
Allow use of @JsonView on @MessageMapping methods
...
Issue: SPR-12741
2015-05-19 15:35:40 +02:00
Stephane Nicoll
cf391f5ce1
polish
...
Remove unused imports
2015-05-19 08:49:01 +02:00
Rossen Stoyanchev
696a010e81
Add SubProtocolErrorHandler
...
Issue: SPR-12732
2015-05-15 18:18:05 -04:00
Juergen Hoeller
49c600b234
Resolved cyclic dependency between handler.invocation and handler.annotation
...
Issue: SPR-12696
2015-05-12 22:04:59 +02:00