- 13 7月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Consolidates new, messaging-related classes from spring-context and spring-websocket into one module.
-
- 11 7月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 08 7月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
The SubscriptionRegistry and implementations are now in a package together with SimpleBrokerWebMessageHandler and primarily support with matching subscriptions to messages. Subscriptions can contain patterns as supported by AntPathMatcher. StopmWebSocketHandler no longer keeps track of subscriptions and simply ignores messages without a subscription id, since it has no way of knowing broker-specific destination semantics for patterns.
-
- 30 6月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 28 6月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 26 6月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-classes expected to provide typed getter/setter methods for specific categories of message headers. NativeMessageHeaderAccessor is one specific sub-class that further provides read/write access to headers from some external message source (e.g. STOMP headers). Native headers are stored in a separate MultiValueMap and kept under a specific key.
-
- 24 6月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 20 6月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Similar to @ExceptionHandler but for message processing. Such a method can send messages to both the message broker channel and the client channel provided the client is subscribed to the target destination.
-
由 Rossen Stoyanchev 提交于
MessageHolder holds the currently processed message in a ThreadLocal, which allows PubSubMessageBuilder to automatically add a session id to messages to be sent.
-
- 19 6月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Rename to PubSubHeaderAccessor and StompHeaderAccessor Move the renamed classes to support packages Remove fromPayloadAndHeaders from MessageBuilder, just use withPayload(..).copyHeaders(..) instead.
-
由 Rossen Stoyanchev 提交于
-
- 17 6月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 15 6月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 14 6月, 2013 1 次提交
-
-
由 Andy Wilkinson 提交于
To improve compatibility between Spring's messaging classes and Spring Integration, the type of Message that is created has been made pluggable through the introduction of a factory abstraction; MessageFactory. By default a MessageFactory is provided that will create org.springframework.messaging.GenericMessage instances, however this can be replaced with an alternative implementation. For example, Spring Integration can provide an implementation that creates org.springframework.integration.message.GenericMessage instances. This control over the type of Message that's created allows messages to flow from Spring messaging code into Spring Integration code without any need for conversion. In further support of this goal, MessageChannel, MessageHandler, and SubscribableChannel have been genericized to make the Message type that they deal with more flexible.
-
- 13 6月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 12 6月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 11 6月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 10 6月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-