File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,12 +104,6 @@ def run(self):
104104 f"Queue { self ._queue } does not exist, creating it..."
105105 )
106106 self ._channel = self ._connection .channel ()
107- self ._channel .exchange_declare (
108- exchange = self ._exchange ,
109- exchange_type = self ._exchange_type ,
110- durable = True ,
111- passive = True ,
112- )
113107 self ._channel .queue_declare (queue = self ._queue , durable = True )
114108
115109 self ._channel .queue_bind (
Original file line number Diff line number Diff line change @@ -128,12 +128,6 @@ def run(self):
128128 f"Queue { self ._queue } does not exist, creating it..."
129129 )
130130 self ._channel = self ._connection .channel ()
131- self ._channel .exchange_declare (
132- exchange = self ._exchange ,
133- exchange_type = self ._exchange_type ,
134- durable = True ,
135- passive = True ,
136- )
137131 self ._channel .queue_declare (queue = self ._queue , durable = True )
138132
139133 self ._channel .queue_bind (
You can’t perform that action at this time.
0 commit comments