Respect environment variable for stomp user
The environment variable STOMP_RELAY_USER
is currently ignored. This leads to unforeseen difficulties, especially in a containerized environment with docker-compose.
If a user other than guest
is used for rabbitMQ, this should be communicable to the WS Gateway via the environment variable. However, the WS Gateway ignores the variable and always uses guest
.
And this, although it is actually implemented correctly in the WebSocketProperties (here) and the application.yml (here).
I can't explain why it doesn't work as expected. The environment variable STOMP_RELAY_HOST
, however, is correctly respected.