@@ -97,14 +97,14 @@ end_per_testcase(Testcase, Config) ->
9797 rabbit_ct_helpers :testcase_finished (Config , Testcase ).
9898
9999% % Test v2 target address
100- % % /e /:exchange/:routing-key
100+ % % /exchanges /:exchange/:routing-key
101101target_exchange_routing_key (Config ) ->
102102 XName = <<" 👉" /utf8 >>,
103103 RKey = <<" 🗝️" /utf8 >>,
104104 target_exchange_routing_key0 (XName , RKey , Config ).
105105
106106% % Test v2 target address
107- % % /e /:exchange/:routing-key
107+ % % /exchanges /:exchange/:routing-key
108108% % where both :exchange and :routing-key contains a "/" character.
109109target_exchange_routing_key_with_slash (Config ) ->
110110 XName = <<" my/exchange" >>,
@@ -141,7 +141,7 @@ target_exchange_routing_key0(XName, RKey, Config) ->
141141 ok = cleanup (Init ).
142142
143143% % Test v2 target address
144- % % /e /:exchange/
144+ % % /exchanges /:exchange/
145145% % Routing key is empty.
146146target_exchange_routing_key_empty (Config ) ->
147147 XName = <<" amq.fanout" >>,
@@ -167,7 +167,7 @@ target_exchange_routing_key_empty(Config) ->
167167 ok = cleanup (Init ).
168168
169169% % Test v2 target address
170- % % /e /:exchange
170+ % % /exchanges /:exchange
171171% % Routing key is empty.
172172target_exchange (Config ) ->
173173 XName = <<" amq.fanout" >>,
@@ -193,7 +193,7 @@ target_exchange(Config) ->
193193 ok = cleanup (Init ).
194194
195195% % Test v2 target address
196- % % /e /:exchange
196+ % % /exchanges /:exchange
197197% % where the target exchange does not exist.
198198target_exchange_absent (Config ) ->
199199 XName = <<" 🎈" /utf8 >>,
@@ -220,13 +220,13 @@ target_exchange_absent(Config) ->
220220 ok = amqp10_client :close_connection (Connection ).
221221
222222% % Test v2 target and source address
223- % % /q /:queue
223+ % % /queues /:queue
224224queue (Config ) ->
225225 QName = <<" 🎈" /utf8 >>,
226226 queue0 (QName , Config ).
227227
228228% % Test v2 target and source address
229- % % /q /:queue
229+ % % /queues /:queue
230230% % where :queue contains a "/" character.
231231queue_with_slash (Config ) ->
232232 QName = <<" my/queue" >>,
@@ -252,7 +252,7 @@ queue0(QName, Config) ->
252252 ok = cleanup (Init ).
253253
254254% % Test v2 target address
255- % % /q /:queue
255+ % % /queues /:queue
256256% % where the target queue does not exist.
257257target_queue_absent (Config ) ->
258258 QName = <<" 🎈" /utf8 >>,
@@ -279,7 +279,7 @@ target_queue_absent(Config) ->
279279 ok = amqp10_client :close_connection (Connection ).
280280
281281% % Test v2 target address 'null' and 'to'
282- % % /e /:exchange/:routing-key
282+ % % /exchanges /:exchange/:routing-key
283283% % with varying routing keys.
284284target_per_message_exchange_routing_key (Config ) ->
285285 QName = atom_to_binary (? FUNCTION_NAME ),
@@ -315,7 +315,7 @@ target_per_message_exchange_routing_key(Config) ->
315315 ok = cleanup (Init ).
316316
317317% % Test v2 target address 'null' and 'to'
318- % % /e /:exchange
318+ % % /exchanges /:exchange
319319% % with varying exchanges.
320320target_per_message_exchange (Config ) ->
321321 XFanout = <<" amq.fanout" >>,
@@ -349,7 +349,7 @@ target_per_message_exchange(Config) ->
349349 ok = cleanup (Init ).
350350
351351% % Test v2 target address 'null' and 'to'
352- % % /q /:queue
352+ % % /queues /:queue
353353target_per_message_queue (Config ) ->
354354 Q1 = <<" q1" >>,
355355 Q2 = <<" q2" >>,
@@ -418,17 +418,17 @@ bad_v2_addresses() ->
418418 <<0 >>,
419419 <<" /" >>,
420420 <<" //" >>,
421- <<" /q " >>,
422- <<" /q /" >>,
421+ <<" /queues " >>,
422+ <<" /queues /" >>,
423423 <<" /queue/" >>,
424- <<" /e " >>,
424+ <<" /exchanges " >>,
425425 % % default exchange in v2 target address is disallowed
426- <<" /e /" >>,
427- <<" /e //" >>,
428- <<" /e //mykey" >>,
429- <<" /e /amq.default" >>,
430- <<" /e /amq.default/" >>,
431- <<" /e /amq.default/mykey" >>,
426+ <<" /exchanges /" >>,
427+ <<" /exchanges //" >>,
428+ <<" /exchanges //mykey" >>,
429+ <<" /exchanges /amq.default" >>,
430+ <<" /exchanges /amq.default/" >>,
431+ <<" /exchanges /amq.default/mykey" >>,
432432 <<" /ex/✋" /utf8 >>,
433433 <<" /exchange" >>,
434434 <<" /exchange/" >>,
@@ -438,13 +438,13 @@ bad_v2_addresses() ->
438438 <<" /exchange/amq.default/key/" >>,
439439 <<" /exchange/amq.default/key/mykey" >>,
440440 % % The following addresses should be percent encoded, but aren't.
441- <<" /q /missing%encoding" >>,
442- <<" /q /missing/encoding" >>,
443- <<" /q /✋" /utf8 >>,
444- <<" /e /missing%encoding" >>,
445- <<" /e /missing/encoding/routingkey" >>,
446- <<" /e /exchange/missing%encoding" >>,
447- <<" /e /✋" /utf8 >>
441+ <<" /queues /missing%encoding" >>,
442+ <<" /queues /missing/encoding" >>,
443+ <<" /queues /✋" /utf8 >>,
444+ <<" /exchanges /missing%encoding" >>,
445+ <<" /exchanges /missing/encoding/routingkey" >>,
446+ <<" /exchanges /exchange/missing%encoding" >>,
447+ <<" /exchanges /✋" /utf8 >>
448448 ].
449449
450450% % Test v2 target address 'null' with an invalid 'to' addresses.
@@ -535,7 +535,7 @@ target_bad_address0(TargetAddress, Config) ->
535535 ok = amqp10_client :close_connection (Connection ).
536536
537537% % Test v2 source address
538- % % /q /:queue
538+ % % /queues /:queue
539539% % where the source queue does not exist.
540540source_queue_absent (Config ) ->
541541 QName = <<" 🎈" /utf8 >>,
0 commit comments