1. 30 8月, 2016 1 次提交
  2. 27 7月, 2016 1 次提交
  3. 05 7月, 2016 1 次提交
  4. 18 5月, 2016 1 次提交
  5. 22 7月, 2015 1 次提交
  6. 07 4月, 2015 1 次提交
  7. 11 2月, 2015 1 次提交
  8. 03 12月, 2014 2 次提交
  9. 24 10月, 2014 1 次提交
    • R
      Simple broker sends notice after disconnect · 01aa64c5
      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
      01aa64c5
  10. 21 10月, 2014 1 次提交
  11. 26 9月, 2014 1 次提交
  12. 15 7月, 2014 2 次提交
    • R
      Update support for using "." as path separator · ab2526a5
      Rossen Stoyanchev 提交于
      Issue: SPR-11660
      ab2526a5
    • S
      Allow to customize separator for messaging destinations · 928a466b
      Sebastien Deleuze 提交于
      In order to be able to use separators like "." (used by default
      by most broker relays) instead of "/" for destination patterns
      handling, the PathMatcher used in spring-messaging can now
      be customized easily thanks to XML websocket namespace
      or JavaConfig.
      
      AntPathMatcher has been updated in order to use the configured path
      separator instead of an hardcoded "/" for path concatenation.
      Extension handling is now disabled when the "." separator is configured.
      
      Issue: SPR-11660
      928a466b
  13. 09 7月, 2014 1 次提交
    • R
      STOMP and WebSocket messaging related logging updates · 48236be4
      Rossen Stoyanchev 提交于
      This change removes most logging at INFO level and also ensures the
      amount of information logged at DEBUG level is useful, brief, and
      not duplicated.
      
      Also added is custom logging for STOMP frames to ensure very readable
      and consise output.
      
      Issue: SPR-11934
      48236be4
  14. 30 6月, 2014 1 次提交
    • R
      More WebSocket logging updates · 86de4169
      Rossen Stoyanchev 提交于
      Update WebSocketSession toString methods to include the handshake URI
      and add id and URI fields to ensure they're available after close().
      
      Log WebSocket session open and close events at INFO.
      
      Remove trace messages for destinations that do not match.
      
      Issue: SPR-11884
      86de4169
  15. 27 6月, 2014 1 次提交
    • R
      Fine tune STOMP and WebSocket related logging · 113fd118
      Rossen Stoyanchev 提交于
      Optimize logging with tracking the opening and closing of WebSocket
      sessions and STOMP broker connections in mind.
      
      While the volume of messages makes it impractical to log every message
      at anything higher than TRACE, the opening and closing of connections
      is more manageable and can be logged at INFO. This makes it possible to
      drop to INFO in production and get useful information without getting
      too much in a short period of time.
      
      The logging is also optimized to avoid providing the same information
      from multiple places since messages pass through multiple layers.
      
      Issue: SPR-11884
      113fd118
  16. 15 4月, 2014 1 次提交
  17. 14 4月, 2014 1 次提交
    • R
      Make use of enhanced MessageHeaderAccessor support · ae942ffd
      Rossen Stoyanchev 提交于
      Mutate rather than re-create headers when decoding STOMP messages
      before a message is sent on a message channel.
      
      Use MessageBuilder.createMessage to ensure the fully prepared
      MessageHeaders is used directly MessageHeaderAccessor instance.
      
      Issue: SPR-11468
      ae942ffd
  18. 17 3月, 2014 1 次提交
    • R
      Refine BrokerAvailabilityEvent behavior · 6bcbb94a
      Rossen Stoyanchev 提交于
      Add accessor for brokerAvailable in AbstractBrokerMessageHandler
      Ensure brokerAvailable is set even if eventPublisher is not
      Add tests BrokerMessageHandlerTests
      
      Turn off brokerAvailable when StompBrokerRelayMessageHandler stops
      Actually stop message handling when brokerAvailable=false
      Improve log messages
      
      Issue: SPR-11563
      6bcbb94a
  19. 07 12月, 2013 1 次提交
  20. 03 12月, 2013 1 次提交
    • B
      Add XML namespace for WebSocket config · 10f5d96a
      Brian Clozel 提交于
      This commit adds an XML namespace equivalent of @EnableWebSocket and
      @EnableWebSocketMessageBroker. Those are <websocket:handlers> and
      <websocket:message-broker> respectively.
      
      Examples can be found in the test suite.
      
      This commit also alters the way MessageHandler's subscribe to their
      respective MessageChannel's of interest. Rather than performing the
      subscriptions in configuration code, the message channels are now
      passed into MessageHandler's so they can subscribe themselves on
      startup.
      
      Issue: SPR-11063
      10f5d96a
  21. 27 11月, 2013 1 次提交
    • P
      General polish of new 4.0 classes · 15698860
      Phillip Webb 提交于
      Apply consistent styling to new classes introduced in Spring 4.0.
      
      - Javadoc line wrapping, whitespace and formatting
      - General code whitespace
      - Consistent Assert.notNull messages
      15698860
  22. 26 11月, 2013 1 次提交
    • E
      Fix various typos · e9f78f60
      Eric Dahl 提交于
      Fix a variety of typos throughout the project, primarily in
      comments (javadoc or otherwise) but also in a handful of log messages
      and a couple exception messages.
      
      ISSUE: SPR-11123
      e9f78f60
  23. 13 11月, 2013 1 次提交
    • R
      Improve logging in spring-messaging · df5d22e1
      Rossen Stoyanchev 提交于
      Before this change the amount of logging was too little or too much
      with TRACE turned on. This change separates useful debugging
      information and logs it under DEBUG and leaves more detailed
      information to be logged under TRACE.
      df5d22e1
  24. 07 10月, 2013 1 次提交
  25. 01 10月, 2013 2 次提交
    • R
      Polish and fix issues in STOMP broker relay · 48caeef4
      Rossen Stoyanchev 提交于
      Fix error in te code that handles the result of sending a heartbeat
      
      Fix error in processing DISCONNECTED frames that closed the TCP
      connection before the message was sent.
      48caeef4
    • A
      Introduce CONNECT_ACK message type · 5025c304
      Andy Wilkinson 提交于
      Previously, handling of a STOMP CONNECT message and sending of a
      CONNECTED response was performed by StompProtocolHandler if it was
      backed by SimpleBrokerMessageHandler, or left up to the real message
      broker if it was backed by StompBrokerRelayMessageHandler. This
      wasn't ideal as it should be StompProtocolHandler's job to simply map
      messages to and from the STOMP protocol, not to do part of the
      broker's job and respond directly to CONNECT.
      
      This commit introduces a new message type, CONNECT_ACK. When it
      receives a CONNECT message, SimpleBrokerMessageHandler will now
      respond with a CONNECT_ACK message that StompProtocolHandler can map
      into a STOMP CONNECTED message. The CONNECT_ACK message contains the
      CONNECT message as a header so that StompProtocolHandler has access to
      its accept-version header.
      
      StompProtocolHandler has been simplified so that a CONNECT message
      is always passed to the output channel, irrespective of whether it's
      backed by a simple broker or a real broker. The handleConnect flag,
      and the code that would set it correctly depending on the app's
      configuration, has been removed.
      5025c304
  26. 03 9月, 2013 1 次提交
    • R
      Refine destination semantics for msg-handling methods · 0ac6998e
      Rossen Stoyanchev 提交于
      After this change, annotated message handling methods configured to use
      a destination prefix (e.g. "/app") no longer have to include the prefix
      in their mapping. For example if a client sends a message to "/app/foo"
      the annotated methods should be mapped with @MessageMapping("/foo").
      0ac6998e
  27. 28 8月, 2013 1 次提交
  28. 20 8月, 2013 1 次提交
    • A
      Improve broker availability events · 3fb5ff26
      Andy Wilkinson 提交于
      Use a single class for the broker availability event with a boolean
      that indicates whether or not the broker is available, rather than one
      event for an available broker and one event for an unavailable broker.
      
      Publish broker availability events in SimpleBrokerMessageHandler so that
      it can be used as a drop-in replacement for
      StompBrokerRelayMessageHandler.
      3fb5ff26
  29. 22 7月, 2013 2 次提交
  30. 18 7月, 2013 3 次提交
  31. 14 7月, 2013 1 次提交
    • R
      Refactor and polish spring-messaging · 2a48ad88
      Rossen Stoyanchev 提交于
      Remove base class for STOMP-related message handler classes
      (AbstractSimpMessageHandler), polish subclasses and fix issues with
      more significant updates to STOMP broker relay.
      
      Introduce base class for SubscribableChannel implementations providing
      consistent logging for all channel implementations.
      2a48ad88
  32. 13 7月, 2013 2 次提交
  33. 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