- 19 2月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12730
-
- 18 2月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12724
-
由 Sebastien Deleuze 提交于
Issue: SPR-12724
-
- 11 2月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12655
-
- 10 2月, 2015 1 次提交
-
-
由 Stephane Nicoll 提交于
Add support for annotation-based event listeners. Enabled automatically when using Java configuration or can be enabled explicitly via the regular <context:annotation-driven/> XML element. Detect methods of managed beans annotated with @EventListener, either directly or through a meta-annotation. Annotated methods must define the event type they listen to as a single parameter argument. Events are automatically filtered out according to the method signature. When additional runtime filtering is required, one can specify the `condition` attribute of the annotation that defines a SpEL expression that should match to actually invoke the method for a particular event. The root context exposes the actual `event` (`#root.event`) and method arguments (`#root.args`). Individual method arguments are also exposed via either the `a` or `p` alias (`#a0` refers to the first method argument). Finally, methods arguments are exposed via their names if that information can be discovered. Events can be either an ApplicationEvent or any arbitrary payload. Such payload is wrapped automatically in a PayloadApplicationEvent and managed explicitly internally. As a result, users can now publish and listen for arbitrary objects. If an annotated method has a return value, an non null result is actually published as a new event, something like: @EventListener public FooEvent handle(BarEvent event) { ... } Events can be handled in an aynchronous manner by adding `@Async` to the event method declaration and enabling such infrastructure. Events can also be ordered by adding an `@order` annotation to the event method. Issue: SPR-11622
-
- 03 2月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Prior to this change when adding subscriptions DefaultSubscriptionRegistry (incorrectly) made a copy of the given map for its "access" cache rather than for its "update" cache. Issue: SPR-12665
-
- 21 1月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12615
-
- 13 1月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
This change removes the need for the isStreaming field from the base class AbstractHttpSockJsSession. This field was used to account for differences between polling vs streaming SockJS sessions without having to expose to sub-classes private fields that are otherwise protected from concurrent access by the base class. The change manages to delegate to sub-classes without providing direct access to protected fields. Issue: SPR-12427
-
- 06 1月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
The test was verifying that when a DISCONNECT frame is sent to the broker, there will be no further messages on the clientOutboundChannel. This is generally true, however in some cases when the broker receives a DISCONNECT it may close its connection fast enough (before we do) in which case we send an ERROR message downstream to ensure the WebSocket side is cleaned up. Either way the downstream should be idempotent with regards to cleaning up sessions.
-
- 30 12月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
- 29 12月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12567
-
- 03 12月, 2014 3 次提交
-
-
由 Sebastien Deleuze 提交于
With this commit, Jackson builder is now used in spring-websocket to create the ObjectMapper instance. It is not possible to use the builder for spring-messaging and spring-jms since these modules don't have a dependency on spring-web, thus they now just customize the same features: - MapperFeature#DEFAULT_VIEW_INCLUSION is disabled - DeserializationFeature#FAIL_ON_UNKNOWN_PROPERTIES is disabled Issue: SPR-12293
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12479
-
- 01 12月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12484
-
- 25 11月, 2014 2 次提交
-
-
由 Sebastien Deleuze 提交于
Issue: SPR-12431
-
由 Juergen Hoeller 提交于
Issue: SPR-12406
-
- 23 11月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 21 11月, 2014 1 次提交
-
-
由 Brian Clozel 提交于
This commit fixes the parsing of message destinations such as "/user/anna/queue/foo", reverting a regression introduced by SPR-11506, which worked well with @SendToUser use cases but caused issues for messages sent to other users. Issue: SPR-12444
-
- 11 11月, 2014 3 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Sebastien Deleuze 提交于
Issue: SPR-12418
-
- 01 11月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 30 10月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 27 10月, 2014 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 24 10月, 2014 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Before this change the simple broker simply removed subscriptions upon receiving a DISCONNECT message assuming it was a result of a client STOMP WebSocket session ending. However, if the server-side application sends a DISCONNECT to the broker in order to terminate a session, the STOMP WebSocket session could remain unware without any further action. This change ensures the simple broker sends a DISCONNECT_ACK message downstream whenever it receives a DISCONNECT. Issue: SPR-12288
-
由 Rossen Stoyanchev 提交于
This change adds a ChannelInterceptor that flips the immutable flag on messages being sent. This allows components sending messages to leave the message mutable for interceptors to further apply modifications before the message is sent (and exposed to concurrency). The interceptor is automatically added with the STOMP/WebSocket Java and XML config and the StompSubProtocolHandler leaves parsed incoming messages mutable so they can be further modified before being sent. Issue: SPR-12321
-
- 21 10月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 14 10月, 2014 1 次提交
-
-
由 Sam Brannen 提交于
-
- 04 10月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
AbstractMessageChannel triggers afterSendCompletion with previously resolved non-null Message in case of preSend returning null Issue: SPR-12295
-
- 01 10月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: Issue: SPR-12272
-
- 30 9月, 2014 5 次提交
-
-
由 Sam Brannen 提交于
- clean up warnings - simplify ApplicationContext configuration
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12272
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12272
-
由 Rossen Stoyanchev 提交于
Consolidate inner classes used to invoke a subscriber with interceptors.
-
- 27 9月, 2014 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12218
-