File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/asyncapi_python/contrib/wire/amqp Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -280,12 +280,14 @@ def resolve_routing_key_binding(
280280 """Resolve AMQP routing key binding configuration for pub/sub patterns
281281
282282 For routing key bindings:
283- - Parameters are optional (can be empty dict)
284- - Missing parameters are replaced with '*' wildcard
283+ - All channel-defined parameters must be provided (strict validation)
285284 - Parameter values can explicitly contain wildcards ('*' or '#')
286- - No strict validation - this is for topic exchange pattern matching
285+ - Wildcards are allowed for topic exchange pattern matching
287286 """
288287
288+ # Strict validation: all parameters required, exact match
289+ validate_parameters_strict (channel , param_values )
290+
289291 # Determine exchange name and type
290292 # For exchange name, we need concrete values (no wildcards)
291293 # If param_values has placeholders, use them; otherwise use literal exchange name
You can’t perform that action at this time.
0 commit comments