Use auto-delete on queue.declare, not passive
This commit is contained in:
parent
d9cfbf1600
commit
d33ae6d809
@ -9,7 +9,7 @@ main = do
|
||||
ch <- openChannel conn
|
||||
|
||||
declareQueue ch newQueue {queueName = "hello",
|
||||
queuePassive = False,
|
||||
queueAutoDelete = False,
|
||||
queueDurable = False}
|
||||
|
||||
putStrLn " [*] Waiting for messages. to Exit press CTRL+C"
|
||||
|
@ -9,7 +9,7 @@ main = do
|
||||
ch <- openChannel conn
|
||||
|
||||
declareQueue ch newQueue {queueName = "hello",
|
||||
queuePassive = False,
|
||||
queueAutoDelete = False,
|
||||
queueDurable = False}
|
||||
|
||||
publishMsg ch "" "hello"
|
||||
|
Loading…
Reference in New Issue
Block a user