Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-submit a single message with binary content created with Azure.Messaging.ServiceBus nuget package #722

Merged
merged 8 commits into from
Jun 13, 2023
Merged

Re-submit a single message with binary content created with Azure.Messaging.ServiceBus nuget package #722

merged 8 commits into from
Jun 13, 2023

Conversation

KinNeko-De
Copy link
Contributor

I found out that the issue discussed in #712 only occurs when Azure.Messaging.ServiceBus is used.
I added UnitTest to show that the issue does not occur if you use Windows.AzureService.
I failed to reproduce exactly the error. I added a test that somehow emulates the error behavior. I do have not enough knowledge of what was changed between the two APIs. Also, the current Protobuf Nuget Package does not support 4.6.2 so i had to add the Protobuf message as a byte array :(

I ended up adding an additional menu item to resubmit a single message without changing the content.
I reused the code from the resubmit of multiple messages.
But that is just a workaround.

I manually tested re-submitting in Azure ServiceBus Queue and Topic and in both cases DLQ-Messages.
I was not able to manually test Azure Event Grid because I have no test environment.

Finally, I updated NUnit3TestAdapter to the newest version to locally run tests.

@ErikMogensen
Copy link
Collaborator

Please provide screen shots of the new GUI parts.

@KinNeko-De
Copy link
Contributor Author

Before:
servicebusexplorer_before

After:
servicebusexplorer

Multiple Messages are unchanged:
servicebusexplorer_multiple

Copy link
Collaborator

@ErikMogensen ErikMogensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really appreciate that you created unit tests. Thank you!

Personally I think that the new Resubmit menu item should be on top of "Repair and resubmit".

@KinNeko-De
Copy link
Contributor Author

Hey..
I am not completely sure what I have to do now.
Do you wait for me to move the menu item to the first place?

@ErikMogensen
Copy link
Collaborator

No need to do anything @KinNeko-De. I'd prefer if @paolosalvatori or @SeanFeldman also reviewed the PR.

@KinNeko-De
Copy link
Contributor Author

@ErikMogensen Thx :) I was confused because the bot marked my issue as stale and 'wontfix' even if there is an open pull request.
I have no problem to wait :)

@ErikMogensen ErikMogensen merged commit 095239b into paolosalvatori:main Jun 13, 2023
@KinNeko-De KinNeko-De deleted the feature/binary-compatibility-with-azure-messaging-servicebus branch June 13, 2023 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants