We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Provide smth like this pika/pika#858
while True: connection = pika.BlockingConnection(parameters) channel = connection.channel() channel.basic_consume(on_message, 'queue') try: channel.start_consuming() except pika.exceptions.ConnectionClosed: LOGGER.info('Connection closed. Recovering') continue except KeyboardInterrupt: channel.stop_consuming() connection.close() break``` Append this code and create issue for SDK
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Provide smth like this
pika/pika#858
The text was updated successfully, but these errors were encountered: