0
这是涉及到一个问题:如何为spring Message Broker的clientOutboundChannel配置1个线程限制?
SockJS receive stomp messages from spring websocket out of order
但我不明白如何限制1个线程的消息代理。
这是涉及到一个问题:如何为spring Message Broker的clientOutboundChannel配置1个线程限制?
SockJS receive stomp messages from spring websocket out of order
但我不明白如何限制1个线程的消息代理。
也许定义池大小为1的任务执行程序,并将其设置为出站通道的调度程序?目前无法测试,但可能会起作用。
这里看看https://stackoverflow.com/a/16724743/6404321这里http://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html#websocket-stomp-configuration-performance
你可以找到它如何做到这一点[这里](http://stackoverflow.com/a/40496644/7123191) –