@SendToUser supported on the class level

Issue: SPR-12047
This commit is contained in:
Rossen Stoyanchev
2016-01-29 16:10:02 -05:00
parent bedf1a9bd0
commit 03e3ef53ab
5 changed files with 101 additions and 11 deletions

View File

@@ -1700,7 +1700,8 @@ than their name and the generic destination. This is also supported through an
annotation as well as a messaging template.
For example, a message-handling method can send messages to the user associated with
the message being handled through the `@SendToUser` annotation:
the message being handled through the `@SendToUser` annotation (also supported on
the class-level to share a common destination):
[source,java,indent=0]
[subs="verbatim,quotes"]

View File

@@ -671,7 +671,7 @@ Spring 4.3 also improves the caching abstraction as follows:
=== WebSocket Messaging Improvements
* `@SendTo` can now be specified at class-level to share a common destination.
* `@SendTo` and `@SendToUser` can now be specified at class-level to share a common destination.
=== Testing Improvements