paolosalvatori / ServiceBusExplorer

The Service Bus Explorer allows users to connect to a Service Bus namespace and administer messaging entities in an easy manner. The tool provides advanced features like import/export functionality or the ability to test topic, queues, subscriptions, relay services, notification hubs and events hubs.
MIT License
1.98k stars 577 forks source link

Fix Submit batch for messages of type string #776

Closed ErikMogensen closed 2 months ago

ErikMogensen commented 2 months ago

Fixes #633

This PR changes the reading of messages of type string to be read using GetBody\() instead of GetBody\(), thus avoiding getting unwanted text in the message.

Also did an auto format which changed some whitespace.

Thanks to @Anshuljkt for his work on #764, which helped in creating this PR and to @Flower7434 for the tip about reading messages.

SeanFeldman commented 2 months ago

Nit: The description is missing they key of the fix: GetBody() vs GetBody(). I fixed It.