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 Issue #633: Resubmit Selected Messages In Batch Mode #764

Closed Anshuljkt closed 2 months ago

Anshuljkt commented 5 months ago

To address issue #633 (Resubmit Selected Messages In Batch Mode issue)

I have added a check on the messageType's value and parsed it as a string if it is one. Also removed the added serialization text "@\u0006string\b3http://schemas.microsoft.com/2003/10/Serialization/�G" to prevent messages from becoming corrupted when resubmitting.

Using this build, you should be able to resubmit batches of messages without running into message body corruption.

Anshuljkt commented 2 months ago

Thanks for your help, @ErikMogensen! Closing this PR as you have addressed the issue.