Skip to content
Snippets Groups Projects
Commit 36663402 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Change routing key to listen to verify.

parent 220f55b6
No related branches found
No related tags found
6 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!51Fix acct create wait,!39WIP:Feat cod rmq,!38WIP: Feat cod rmq,!30Feat subscribe mail lists
......@@ -72,7 +72,7 @@ def mail_list_subscription(ch, method, properties, body):
logger.info("Start listening to queue: {}".format(task))
rc_rmq.start_consume({
'queue': task, # Define your Queue name
'routing_key': "create.*", # Define your routing key
'routing_key': "verify.*", # Define your routing key
'cb': mail_list_subscription # Pass in callback function you just define
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment