Skip to content

Commit

Permalink
Merge pull request #10503 from esl/remove-delivery-mode
Browse files Browse the repository at this point in the history
Remove delivery_mode header from AMQP 1.0 Shovel
  • Loading branch information
michaelklishin authored Feb 7, 2024
2 parents 0d1da11 + 066fb59 commit 068fe3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/rabbitmq_shovel/src/rabbit_amqp10_shovel.erl
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ set_message_properties(Props, Msg) ->
#{content_encoding => to_binary(Ct)}, M);
(delivery_mode, 2, M) ->
amqp10_msg:set_headers(#{durable => true}, M);
(delivery_mode, 1, M) ->
M;
(priority, P, M) when is_integer(P) ->
amqp10_msg:set_headers(#{priority => P}, M);
(correlation_id, Ct, M) ->
Expand Down

0 comments on commit 068fe3f

Please sign in to comment.