eclipse-paho / eclipse-paho/paho.mqtt.java

Multiple subscriptions to same topic

Open
#378 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

- [x] Bug exists Release Version 1.1.1 (Master Branch)
- [ ] Bug exists in Snapshot Version 1.1.2-SNAPSHOT (Develop Branch)

I have two classes which should react to messages in the same topic. But I noticed I can't do that easily, because you store subscriptions as `Map`, so when I subscribe to the same topic, the new callback overwrites the previous callback. I sugges using `Map` instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.