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 identify if there are no message to read from queue. #98

Open
aniltomar10 opened this issue Aug 5, 2019 · 0 comments
Open

How to identify if there are no message to read from queue. #98

aniltomar10 opened this issue Aug 5, 2019 · 0 comments

Comments

@aniltomar10
Copy link

I am using ChannelPool to connect and read message from AMQ queue. I need to disconnect if there are no message to read from queue.

Right now Channel keep connected if there are no message and read message as soon as new message is available.

I want to stop my application if there are no message. application is like a scheduled job running in every 30 minutes.

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

1 participant