@@ -61,7 +61,6 @@ groups() ->
61
61
link_target_classic_queue_deleted ,
62
62
link_target_quorum_queue_deleted ,
63
63
target_queues_deleted_accepted ,
64
- no_routing_key ,
65
64
events ,
66
65
sync_get_unsettled_classic_queue ,
67
66
sync_get_unsettled_quorum_queue ,
@@ -320,9 +319,8 @@ sender_settle_mode_unsettled_fanout(Config) ->
320
319
OpnConf = connection_config (Config ),
321
320
{ok , Connection } = amqp10_client :open_connection (OpnConf ),
322
321
{ok , Session } = amqp10_client :begin_session_sync (Connection ),
323
- Address = <<" /exchange/amq.fanout/ignored" >>,
324
- {ok , Sender } = amqp10_client :attach_sender_link (
325
- Session , <<" test-sender" >>, Address , unsettled ),
322
+ Address = <<" /exchange/amq.fanout" >>,
323
+ {ok , Sender } = amqp10_client :attach_sender_link (Session , <<" test-sender" >>, Address , unsettled ),
326
324
ok = wait_for_credit (Sender ),
327
325
328
326
% % Send many messages aync.
@@ -796,7 +794,7 @@ multiple_sessions(Config) ->
796
794
ok = rabbit_ct_client_helpers :close_channel (Ch ),
797
795
798
796
% % Send on each session.
799
- TargetAddr = <<" /exchange/amq.fanout/ignored " >>,
797
+ TargetAddr = <<" /exchange/amq.fanout" >>,
800
798
{ok , Sender1 } = amqp10_client :attach_sender_link_sync (
801
799
Session1 , <<" sender link 1" >>, TargetAddr , settled , configuration ),
802
800
ok = wait_for_credit (Sender1 ),
@@ -1087,30 +1085,6 @@ rabbit_queue_type_deliver_to_q1(Qs, Msg, Opts, QTypeState) ->
1087
1085
1 = length (Q1 ),
1088
1086
meck :passthrough ([Q1 , Msg , Opts , QTypeState ]).
1089
1087
1090
- % % Set routing key neither in target address nor in message subject.
1091
- no_routing_key (Config ) ->
1092
- OpnConf = connection_config (Config ),
1093
- {ok , Connection } = amqp10_client :open_connection (OpnConf ),
1094
- {ok , Session } = amqp10_client :begin_session_sync (Connection ),
1095
- Address = <<" /exchange/amq.direct" >>,
1096
- {ok , Sender } = amqp10_client :attach_sender_link (
1097
- Session , <<" test-sender" >>, Address ),
1098
- ok = wait_for_credit (Sender ),
1099
- Msg = amqp10_msg :new (<<0 >>, <<1 >>, true ),
1100
- ok = amqp10_client :send_msg (Sender , Msg ),
1101
- receive
1102
- {amqp10_event ,
1103
- {session , Session ,
1104
- {ended ,
1105
- # 'v1_0.error' {
1106
- condition = ? V_1_0_AMQP_ERROR_INVALID_FIELD ,
1107
- description = {utf8 , <<" Publishing to exchange 'amq.direct' in vhost '/' "
1108
- " failed since no routing key was provided" >>}}}}} -> ok
1109
- after 5000 -> flush (missing_ended ),
1110
- ct :fail (" did not receive expected error" )
1111
- end ,
1112
- ok = amqp10_client :close_connection (Connection ).
1113
-
1114
1088
events (Config ) ->
1115
1089
ok = event_recorder :start (Config ),
1116
1090
@@ -2085,7 +2059,7 @@ last_queue_confirms(Config) ->
2085
2059
{ok , Connection } = amqp10_client :open_connection (OpnConf ),
2086
2060
{ok , Session } = amqp10_client :begin_session_sync (Connection ),
2087
2061
2088
- AddressFanout = <<" /exchange/amq.fanout/ignored " >>,
2062
+ AddressFanout = <<" /exchange/amq.fanout" >>,
2089
2063
{ok , SenderFanout } = amqp10_client :attach_sender_link (
2090
2064
Session , <<" sender-1" >>, AddressFanout , unsettled ),
2091
2065
ok = wait_for_credit (SenderFanout ),
@@ -2160,7 +2134,7 @@ target_queue_deleted(Config) ->
2160
2134
{ok , Connection } = amqp10_client :open_connection (OpnConf ),
2161
2135
{ok , Session } = amqp10_client :begin_session_sync (Connection ),
2162
2136
2163
- Address = <<" /exchange/amq.fanout/ignored " >>,
2137
+ Address = <<" /exchange/amq.fanout" >>,
2164
2138
{ok , Sender } = amqp10_client :attach_sender_link (
2165
2139
Session , <<" sender" >>, Address , unsettled ),
2166
2140
ok = wait_for_credit (Sender ),
0 commit comments