报错:
Received ERROR {message=[Invalid destination], content-type=[text/plain], version=[1.0,1.1,1.2], content-length=[36]} session=pcowojk4 text/plain payload=‘’ is not a valid topic destination
原因:不可以使用“/”分隔
registry.enableStompBrokerRelay("/topic")
修改后
registry.enableStompBrokerRelay("topic")
报错:
content-length=[26]} session=system text/plain payload=non-loopback access denied
原因:rabbitmq未开启远程连接
修改:设置 loopback_users = none