File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 277277 consumer_arguments := [binary ()],
278278 amqp_capabilities => [binary ()],
279279 server_named := boolean (),
280- rebalance_module := module (),
280+ rebalance_module := module () | undefined ,
281281 can_redeliver := boolean (),
282282 is_replicable := boolean ()}.
283283
Original file line number Diff line number Diff line change 4444-export ([queue_topology /1 ,
4545 feature_flag_name /0 ,
4646 policy_apply_to_name /0 ,
47- can_redeliver /0 ,
4847 stop /1 ,
49- is_replicated /0 ,
50- rebalance_module /0 ,
5148 list_with_minimum_quorum /0 ,
5249 drain /1 ,
5350 revive /0 ,
@@ -235,10 +232,14 @@ format(Q, _Ctx) ->
235232 [{type , ? MODULE },
236233 {state , amqqueue :get_state (Q )}].
237234
238- -spec capabilities () ->
239- #{atom () := term ()}.
240235capabilities () ->
241- #{}.
236+ #{can_redeliver => false ,
237+ consumer_arguments => [],
238+ is_replicable => false ,
239+ queue_arguments => [],
240+ rebalance_module => undefined ,
241+ server_named => true ,
242+ unsupported_policies => []}.
242243
243244-spec info (amqqueue :amqqueue (), all_keys | rabbit_types :info_keys ()) ->
244245 rabbit_types :infos ().
@@ -328,18 +329,9 @@ feature_flag_name() ->
328329policy_apply_to_name () ->
329330 <<" qos0_queues" >>.
330331
331- can_redeliver () ->
332- false .
333-
334332stop (_VHost ) ->
335333 ok .
336334
337- is_replicated () ->
338- false .
339-
340- rebalance_module () ->
341- {error , not_supported }.
342-
343335list_with_minimum_quorum () ->
344336 [].
345337
You can’t perform that action at this time.
0 commit comments