1. 03 12月, 2014 1 次提交
    • S
      Use Jackson improved default configuration everywhere · fbd85925
      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
      fbd85925
  2. 21 10月, 2014 1 次提交
  3. 14 10月, 2014 1 次提交
  4. 13 10月, 2014 1 次提交
  5. 25 9月, 2014 1 次提交
  6. 09 7月, 2014 1 次提交
    • R
      Add STOMP/WebSocket stats collection · ab4864da
      Rossen Stoyanchev 提交于
      This change adds collection of stats in key infrastructure components
      of the WebSocket message broker config setup and exposes the gathered
      information for logging and viewing (e.g. via JMX).
      
      WebSocketMessageBrokerStats is a single class that assembles all
      gathered information and by default logs it once every 15 minutes.
      Application can also easily expose to JMX through an MBeanExporter.
      
      A new section in the reference documentation provides a summary of
      the available information.
      
      Issue: SPR-11739
      ab4864da
  7. 30 6月, 2014 4 次提交
  8. 26 6月, 2014 2 次提交
    • R
      Create SockJS ThreadPoolTaskScheduler extension · 6ad79e03
      Rossen Stoyanchev 提交于
      Commit 5d2e6f enabled the setRemoveOnCancelPolicy of the SockJS
      ScheduledThreadPoolExecutor by default. However that property is only
      available in JDK 1.7 or later. This change fixes the issue and
      introduces an extension of ThreadPoolTaskScheduler for for use with
      SockJS which is necessary in any case since ThreadPoolTaskScheduler
      does not expose the underlying ScheduledThreadPoolExecutor otherwise.
      
      Issue: SPR-11918
      6ad79e03
    • R
      Prevent unbounded retention of cancelled SockJS tasks · 5d2e6f6d
      Rossen Stoyanchev 提交于
      This change sets the removeOnCancelPolicy on the SockJS
      ScheduledThreadPoolExecutor to true. This ensures that cancelled
      tasks are removed immediately to avoid the "unbounded retention
      of cancelled tasks" that is mentioned in the Javadoc of
      ScheduledThreadPoolExecutor:
      
      "By default, such a cancelled task is not automatically removed from
      the work queue until its delay elapses. While this enables further
      inspection and monitoring, it may also cause unbounded retention of
      cancelled tasks. To avoid this, set setRemoveOnCancelPolicy to true,
      which causes tasks to be immediately removed from the work queue at
      time of cancellation."
      
      Issue: SPR-11918
      5d2e6f6d
  9. 31 5月, 2014 2 次提交
  10. 12 5月, 2014 1 次提交
    • R
      Add WebSocket scope · 2c4cbb61
      Rossen Stoyanchev 提交于
      This change adds support for a custom "websocket" scope.
      
      WebSocket-scoped beans may be injected into controllers with message
      handling methods as well as channel interceptor registered on the
      "inboundClientChannel".
      
      Issue: SPR-11305
      2c4cbb61
  11. 22 4月, 2014 1 次提交
  12. 25 3月, 2014 3 次提交
  13. 23 3月, 2014 1 次提交
  14. 03 12月, 2013 3 次提交
  15. 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
  16. 24 11月, 2013 1 次提交
    • R
      Consolidate websocket/messaging code · 4de3291d
      Rossen Stoyanchev 提交于
      Before this change spring-messaging contained a few WebSocket-related
      classes including WebSocket sub-protocol support for STOMP as well
      as @EnableWebSocketMessageBroker and related configuration classes.
      
      After this change those classes are located in the spring-websocket
      module under org.springframework.web.socket.messaging.
      
      This means the following classes in application configuration must
      have their packages updated:
      
      org.springframework.web.socket.messaging.config.EnableWebSocketMessageBroker
      org.springframework.web.socket.messaging.config.StompEndpointRegistry
      org.springframework.web.socket.messaging.config.WebSocketMessageBrokerConfigurer
      
      MessageBrokerConfigurer has been renamed to MessageBrokerRegistry and
      is also located in the above package.
      4de3291d