-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageService BusbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.Workflow: The Azure SDK team believes it to be addressed and ready to close.
Milestone
Description
Library name and version
Azure.Messaging.ServiceBus v7.18.0+
Describe the bug
When creating a ServiceBusSender using ServiceBusClient.CreateSender() the returned Sender does not have its Identifier correctly set based off the queue/topic name.
This used to work < 7.18.0.
Expected behavior
ServiceBusClient.CreateSender() should return ServiceBusSender with Identifier set as -.
Actual behavior
Identifier is set as "-".
Reproduction Steps
using Azure.Identity;
using Azure.Messaging.ServiceBus;
namespace ConsoleApp1;
class Program
{
static void Main(string[] args)
{
var serviceBusClient = new ServiceBusClient("service-bus-name.servicebus.windows.net", new DefaultAzureCredential());
var serviceBusSender = serviceBusClient.CreateSender("queue-name");
}
}Environment
No response
Metadata
Metadata
Assignees
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageService BusbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.Workflow: The Azure SDK team believes it to be addressed and ready to close.