Skip to content

Commit a43e2c5

Browse files
authored
Merge pull request #14245 from rabbitmq/amqp_filter_set_bug
Deny `amqp_filter_set_bug` by default
2 parents da2255d + a850505 commit a43e2c5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deps/rabbit/src/rabbit_amqp_session.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
-rabbit_deprecated_feature(
3636
{amqp_filter_set_bug,
37-
#{deprecation_phase => permitted_by_default,
37+
#{deprecation_phase => denied_by_default,
3838
doc_url => "https://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-filter-set"
3939
}}).
4040

deps/rabbit/test/amqp_dotnet_SUITE_data/fsharp-tests/Program.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ module Test =
199199
for spec in specs do
200200
printfn "testing streams spec %A" spec
201201
let filterSet = Map()
202-
filterSet.Add(Symbol "rabbitmq:stream-offset-spec", spec)
202+
let describedValue = DescribedValue(Symbol "rabbitmq:stream-offset-spec", spec)
203+
filterSet.Add(Symbol "my offset", describedValue)
203204
let source = Source(Address = address,
204205
FilterSet = filterSet)
205206
let attach = Attach(Source = source)

0 commit comments

Comments
 (0)