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

v2 First subscribed message not raising handler #228

Closed
stanb opened this issue May 23, 2017 · 5 comments
Closed

v2 First subscribed message not raising handler #228

stanb opened this issue May 23, 2017 · 5 comments
Assignees

Comments

@stanb
Copy link

stanb commented May 23, 2017

RawRabbit 2.0.0-betta6
To reproduce run subscriber process that subscribes for several message types.
Then shutdown subscriber.
Publish some messages.
Run subscriber. Messages of the first subscribed message type are not processed. The messages polled from the queue but remains unacked and handler not called.
Messages that published when the subscriber process is running are processed well.
As a workaround I defined dummy message and subscribed to it first.

@draganjovanovic1
Copy link

@stanb, thanks for describing steps for reproduce the issue. I am struggling with the same issue for several days and finally you opened my eyes 👍

Yes, I can confirm that order of subscription affects weather subscription callback will be called.

@draganjovanovic1
Copy link

Forgot to say, callback is triggered when using NoAck(true)

@pardahlman
Copy link
Owner

Hey @stanb - great catch, thanks for reporting this and thanks to you @draganjovanovic1 for providing additional information.

I have been able to reproduce this myself, and I believe I've found the cause of the problem. You can expect a fix shortly.

@draganjovanovic1
Copy link

@pardahlman, thanks for the feedback.

@pardahlman
Copy link
Owner

Fixed in beta7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants