如何在Spring Websocket中创建临时队列

时间:2017-10-15 15:21:41

标签: spring spring-boot rabbitmq stomp spring-websocket

在使用STOMP使用Spring全功能消息代理时,它会为每个新会话创建一个队列,并且默认情况下队列是持久的。有没有办法让每个会话的队列非持久(自动删除)。

我尝试在func textViewDidChange(_ textView: UITextView)框架中添加{'durable': false,'auto-delete': true}之类的标题,而春天会出现SUBSCRIBE错误。

0 个答案:

没有答案