219
220
if conf.qpid_topology_version == 1:
220
221
node_name = "%s/%s" % (msg_id, msg_id)
221
222
node_opts = {"type": "direct"}
222
224
elif conf.qpid_topology_version == 2:
223
225
node_name = "amq.direct/%s" % msg_id
226
229
raise_invalid_topology_version()
228
231
super(DirectConsumer, self).__init__(conf, session, callback,
229
node_name, node_opts, msg_id,
232
node_name, node_opts, link_name,