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

Stopping poller sends unsubscribe message even for durable subscriber #13

Open
onyx opened this issue Jun 25, 2012 · 1 comment
Open

Comments

@onyx
Copy link

onyx commented Jun 25, 2012

We are using activemessaging gem version 0.9.0. We use poller to start and stop the subscriber. We have durable subscriber and when we stop the poller, gem sends UNSUBSCRIBE command to activemq in addition to DISCONNECT command.

We do not want to unsubscribe as subscriber is durable and if it is no longer subscribed, it will loose any message which came on the topic while it was offline.

Do you think this feature is reasonable and, if yes, we could work to provide a patch to add an option to avoid unsubscribing.

@kookster
Copy link
Owner

kookster commented Aug 7, 2012

I think the idea is that if the poller dies/crashes then it would not unsub, and you would have continuity, but if you stop it, then it should unsub. How would you differentiate between when you want a poller to unsub, and when not?

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

No branches or pull requests

2 participants