-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Messaging] Allow binary application properties (#43181)
* [Messaging] Allow binary application properties The focus of these changes is to update AMQP conversion to remove the validation that disallows `byte[]` and `ArraySegment<byte>` values in application properties. These are confirmed to be encoded as `binary` by `Microsoft.Azure.Amqp`, making them allowable values according to section 3.2.5 of the AMQP specification. The Event Hubs documentation for `EventData` has been updated to reflect this change. Due to a known bug in the Service Bus service, the service will reject messages with `byte[]` application properties. Until this is confirmed fixed, the Service Bus documentation still reflects `byte[]` as an invalid type for the application properties.
- Loading branch information
Showing
11 changed files
with
550 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
281 changes: 270 additions & 11 deletions
281
sdk/core/Azure.Core.Amqp/tests/AmqpAnnotatedMessageConverterTests.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.