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

MessageAndSessionPump closes the connection on the receipt of SIGTERM. #412

Open
vlaguduva opened this issue Mar 22, 2021 · 0 comments
Open

Comments

@vlaguduva
Copy link

Actual Behavior

  1. On receipt of SIGTERM, MessageAndSessionPump closes the connection to service bus even though close/closeAsync is not called on queueClient.
  2. I have a spring boot application that handles the SIGTERM for graceful shutdown - as part of graceful shutdown, the code calls queueClient.closeAsync to close the connection to Azure Service bus. Unfortunately, MessageAndSessionPump closes the connection (log: Closing message and session pump on entity 'my_queue') much ahead of queueClient.closeAsync call.

Expected Behavior

  1. MessageAndSessionPump should not close the connection until the queueClient.closeAsync is called.

Versions

  • OS platform and version:
  • Maven package version or commit ID:
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