Springboot project, using local rabbitmq as broker:
//the rabbitmq proxy relay configuration
The config. EnableStompBrokerRelay ("/topic ", "/queue")
. SetRelayHost (" localhost ")
SetRelayPort (61613)
//setVirtualHost ("/local ")
. SetClientLogin (" guest ")
SetClientPasscode (" guest ");
The front open link time complains:
The 17-03-13 13:56:50. ERROR 460-24682 [eactor - TCP - IO - 3] O.S.M.S.S.S tompBrokerRelayMessageHandler: Received ERROR {message=[Invalid destination], the content-type=text/plain, version=[1.0, 1.1, 1.2], the content - length=[47]} session=HRGMDKGJ text/plain content='/campaign/1' is not a valid topic destination
Probably say my address/js subscribe campaign/1 has a problem,
And if you don't use the rabbitmq is not the problem:
The config. EnableSimpleBroker ("/topic ", "/queue");
Could you tell me if the spring websocket used under the rabbitmq as stomp agent?
CodePudding user response:
I have the rabbitmq can not match the cluster thief