parent
0ca393c0dc
commit
c6c64e6fe7
|
@ -13,7 +13,7 @@ If configured with a task scheduler, the simple broker supports
|
||||||
https://stomp.github.io/stomp-specification-1.2.html#Heart-beating[STOMP heartbeats].
|
https://stomp.github.io/stomp-specification-1.2.html#Heart-beating[STOMP heartbeats].
|
||||||
To configure a scheduler, you can declare your own `TaskScheduler` bean and set it through
|
To configure a scheduler, you can declare your own `TaskScheduler` bean and set it through
|
||||||
the `MessageBrokerRegistry`. Alternatively, you can use the one that is automatically
|
the `MessageBrokerRegistry`. Alternatively, you can use the one that is automatically
|
||||||
declared in the built-in WebSocket configuration, however, you'll' need `@Lazy` to avoid
|
declared in the built-in WebSocket configuration, however, you'll need `@Lazy` to avoid
|
||||||
a cycle between the built-in WebSocket configuration and your
|
a cycle between the built-in WebSocket configuration and your
|
||||||
`WebSocketMessageBrokerConfigurer`. For example:
|
`WebSocketMessageBrokerConfigurer`. For example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue