I am creating a spring -websocket application that currently uses RabbitMQ as a message broker through the STOMP protocol. The rest of our organization mainly uses IBM Websphere MQ as a message broker, so we would like to convert it from RabbitMQ. However, Websphere MQ does not support the STOMP protocol, which is spring -websocket by default. MQTT looks like the easiest supported protocol to use. Ideally, our front-end web clients will continue to use STOMP, but I am also fine with porting them to MQTT, if necessary.
What classes do I need to rewrite to make the spring-websocket interface with the broker via MQTT instead of STOMP? This article provides some general guidelines that I should extend AbstractMessageBrokerConfiguration , but I donβt know where to start.
I am currently using standard configuration methods: registry.enableStompBrokerRelay and registerStompEndpoints in AbstractWebSocketMessageBrokerConfigurer
source share