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

[BUG] Unable to update forwardDeadLetteredMessagesTo with ServiceBusAdministrationClient #36811

Closed
3 tasks done
alexciouca opened this issue Sep 18, 2023 · 4 comments
Closed
3 tasks done
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-triage Workflow: This issue needs the team to triage. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Bus

Comments

@alexciouca
Copy link

alexciouca commented Sep 18, 2023

Describe the bug
I am trying to set forwardDeadLetteredMessagesTo on an already existing Entity via an update request, but it seems the call is ignored (see screenshot).

Exception or Stack Trace
No exception is thrown.

To Reproduce
Steps to reproduce the behavior:

  • create DLQ entity
  • create entity
  • build an update call to set forwardDeadLetteredMessagesTo
  • update entity

Same steps have been tested with both ServiceBusAdministrationClient and ServiceBusAdministrationAsyncClient.

Code Snippet

administrationClient.createQueue("test.entity.dlq");
final QueueProperties queueProperties = administrationClient.createQueue("test.entity");
queueProperties.setDeadLetteringOnMessageExpiration(true);
queueProperties.setForwardDeadLetteredMessagesTo("test.entity.dlq");
administrationClient.updateQueue(queueProperties);

Expected behavior
forwardDeadLetteredMessagesTo is being updated when an update call is made.

Screenshots
image

Setup (please complete the following information):

  • OS: Linux 5.15.0-1041-azure amd64
  • Library/Libraries: com.azure:azure-messaging-servicebus:7.14.3
  • Java version: 17
  • Frameworks: Spring Boot

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added
@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-triage Workflow: This issue needs the team to triage. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Bus labels Sep 18, 2023
@anuchandy anuchandy self-assigned this Sep 18, 2023
@anuchandy
Copy link
Member

@alexciouca thanks for reporting, I'll take a look and get back.

@alexciouca
Copy link
Author

Hello @anuchandy would you have any news on this?

@anuchandy
Copy link
Member

Hi @alexciouca, I was able to repro this and I’m following up with the service team to get some clarification on the format of the payload that SDK is sending.

@anuchandy
Copy link
Member

This is addressed in the pr #37353. Thanks, Alex, for reporting, closing the issue.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-triage Workflow: This issue needs the team to triage. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Bus
Projects
None yet
Development

No branches or pull requests

2 participants