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
The line channel.queue_declare(queue = 'Finish') registers the queue within the default exchange, if it doesn't already exist.
channel.queue_declare(queue = 'Finish')
Suggest changing
channel.queue_declare(queue='Finish') channel.basic_publish(exchange='', routing_key='Finish', body=json.dumps(datadict))
inlsf_log_watch.py to something like
lsf_log_watch.py
channel.queue_bind(exchange='LSF', queue=queue_name) channel.queue_declare(queue='Finish') channel.basic_publish(exchange='LSF', routing_key='Finish', body=json.dumps(datadict))
and likewise in reader_example.py, removing the line channel.queue_declare(queue = 'Finish') and changing
channel.basic_consume(callback, queue='Finish', no_ack=True)
to
channel.queue_bind(exchange='LSF', queue=queue_name) channel.basic_consume(callback, queue='Finish', no_ack=True)
The text was updated successfully, but these errors were encountered:
Happy with the option, this looks pretty sane and may add more options for later use.
Sorry, something went wrong.
No branches or pull requests
The line
channel.queue_declare(queue = 'Finish')
registers the queue within the default exchange, if it doesn't already exist.
Suggest changing
in
lsf_log_watch.py
to something like
and likewise in reader_example.py, removing the line
channel.queue_declare(queue = 'Finish')
and changing
to
The text was updated successfully, but these errors were encountered: