1. 13 7月, 2013 2 次提交
  2. 11 7月, 2013 1 次提交
  3. 08 7月, 2013 1 次提交
    • R
      Refactor SubscriptionRegistry · 3a2f5e71
      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.
      3a2f5e71
  4. 30 6月, 2013 1 次提交
  5. 28 6月, 2013 1 次提交
  6. 26 6月, 2013 2 次提交
    • R
      Remove PubSubChannelRegistry · ee9c46ad
      Rossen Stoyanchev 提交于
      ee9c46ad
    • R
      Introduce MessageHeader accessor types · 486b4101
      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.
      486b4101
  7. 24 6月, 2013 1 次提交
  8. 20 6月, 2013 2 次提交
    • R
      Add @MessageExceptionHandler · 55a212d4
      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.
      55a212d4
    • R
      Add MessageHolder · 44db0f81
      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.
      44db0f81
  9. 19 6月, 2013 2 次提交
  10. 17 6月, 2013 1 次提交
  11. 15 6月, 2013 2 次提交
  12. 14 6月, 2013 1 次提交
    • A
      Make Message type pluggable · 3022f5e3
      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.
      3022f5e3
  13. 13 6月, 2013 1 次提交
  14. 12 6月, 2013 1 次提交
  15. 11 6月, 2013 1 次提交
  16. 10 6月, 2013 1 次提交