Skip to content

Commit 87c2dcb

Browse files
committed
creating AMQP queue with durable, exclusive and auto_delete flags
1 parent e9f5f64 commit 87c2dcb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

villas/controller/component.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ def get_consumer(self, channel):
6969
'x-match': 'any',
7070
**self.headers
7171
},
72-
durable=False
72+
durable=False,
73+
exclusive=True,
74+
auto_delete=True
7375
),
7476
no_ack=True,
7577
accept={'application/json'}

0 commit comments

Comments
 (0)