Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Functionalities for publishAsync while disconnected #229

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

Closed
wants to merge 2 commits into from

Conversation

Ettore-P
Copy link

Before if a publishAsync was performed while disconnected the message was queued and the function returned 'queued' instead of a message id, also when reconnected the draining process send the messages in the queue but did not fire the callback

*Issue #226 and #196

Description of changes:
Now when a publishAsync is performed while disconnected a negative id is given, for tracking purposes with the callback and also for know that it's been queued (negative number = message queued). When reconnected, in the draining process, the specifyed callback is called with the (negative) id returned with publishAsync for tracking.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

 Release of version 1.4.8
…t triggered + the id when performing publishAsync when disconnected returns 'queued' instead an id for track the callback
@github-actions
Copy link

Greetings! Sorry to say but this is a very old issue that is probably not getting as much attention as it deservers. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to open a new one.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels May 13, 2020
@github-actions github-actions bot closed this May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant