Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to subscribe with cleansession: false #39

Open
kiranpradeep opened this issue Aug 26, 2019 · 3 comments
Open

how to subscribe with cleansession: false #39

kiranpradeep opened this issue Aug 26, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@kiranpradeep
Copy link

The ManagedClient of MQTTNet doesn't support clean session as false. How can use cleansession:false with this extension?

@keesschollaart81
Copy link
Owner

The example project has an example of a 'Complex Configuration' as demonstrated here. Here you can add a .WithCleanSession(true)

@kiranpradeep
Copy link
Author

No. It still throws "System.NotSupportedException: The managed client does not support existing sessions". It is an issue with underlying library. But then, users of this extension are impacted and ideally I felt this ticket should be left open until underlying library (mqtt.net) brings the PR to a release nuget.

@keesschollaart81
Copy link
Owner

Yeah, let's leave it open. As soon as there is a major new release of MQTTNet, I'll incorporate it so that it will work here as well! 👍

@keesschollaart81 keesschollaart81 added the enhancement New feature or request label Mar 23, 2020
@keesschollaart81 keesschollaart81 self-assigned this Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants