Skip to content

Commit

Permalink
Fix #13009, make non-durable subscriptions exclusive by default
Browse files Browse the repository at this point in the history
  • Loading branch information
deadtrickster committed Jan 2, 2025
1 parent 4fdcc04 commit 08674f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deps/rabbitmq_stomp/src/rabbit_stomp_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,11 @@ default_params({exchange, _}) ->
[{exclusive, true}, {auto_delete, true}];

default_params({topic, _}) ->
[{exclusive, false}, {auto_delete, true}];
[{exclusive, true}, {auto_delete, true}];

default_params(_) ->
[{durable, false}].
[{exclusive, true},
{durable, false}].

string_to_boolean("True") ->
true;
Expand Down

0 comments on commit 08674f2

Please sign in to comment.