Skip to content

DefaultSubscriptionRegistry does not handle subscriptions in Ant-style [SPR-11657] #16280

@spring-projects-issues

Description

@spring-projects-issues

Serhii Marchuk opened SPR-11657 and commented

The DefaultSubscriptionRegistry does not handle subscriptions in ant-style, if it finds at least one point-to-point subscription.

Example:

  1. First client subscribes to receive definite messages.
    Example: destination:/topic/price

2 Second client subscribes to receive any messages.
Example: destination:/topic/*
Client will receive all messages except messages sent to /topic/price.

The root of the problem is in findSubscriptionsInternal method of DefaultSubscriptionRegistry.


Affects: 4.0.3

Referenced from: commits 63a868d, 79de45b, 563476f, 1054080, 6a9b229, c879796

1 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions