Skip to content

Handle STOMP messages to user destination in order #31395

@rstoyanchev

Description

@rstoyanchev

After #21798, messages on the clientInboundChannel can be handled sequentially within a session by setting StompEndpointRegistry#preserveReceiveOrder. This in addition to the MessageBrokerRegistry#preservePublishOrder that does the same for messages on the clientOutboundChannel.

UserDestinationMessageHandler subscribes to clientInboundChannel and brokerChannel and also handles messages from the client. Therefore it makes sense to extend the support for StompEndpointRegistry#preserveReceiveOrder so when it is enabled, messages with user destinations are handled sequentially by user.

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions