Skip to content

no msg when cannot authorize against external queue [SPR-11673] #16296

@spring-projects-issues

Description

@spring-projects-issues

Prashant Deva opened SPR-11673 and commented

So i tried putting in the following lines in my code to pass a fake password:

 StompBrokerRelayRegistration registration = config.enableStompBrokerRelay("/topic");
        registration.setRelayHost("xxxx.com");
        registration.setSystemPasscode("hello");
        registration.setClientPasscode("hello");

the funny thing is the logs still just show this:

16:24:47,103  INFO reactor-tcp-io-2 netty.NettyTcpClient:304 - CONNECT: [id: 0x0db8042b, /192.168.1.15:49980 => xxxx.com/162.242.220.165:61613]

of course there is no data transfer cause the msg queue itself wont allow authentication with a non-existent password, but nothing in the logs by spring shows we had a bad authentication


Affects: 4.0.3

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions