Skip to content

Incorrect check in AbstractBrokerRegistration's constructor #26896

Closed
@tgyurci

Description

@tgyurci

The constructor in org.springframework.messaging.simp.config.AbstractBrokerRegistration checks the non-nullness of the clientOutboundChannel parameter twice but does not check the non-nullness of the clientInboundChannel parameter.

See:

Assert.notNull(clientOutboundChannel, "'clientInboundChannel' must not be null");

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions