[ 
https://issues.apache.org/jira/browse/CAMEL-17706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17497400#comment-17497400
 ] 

MattV edited comment on CAMEL-17706 at 2/24/22, 1:48 PM:
---------------------------------------------------------

makes sense. like i said, the configuration for multiple queues in 2+ 
namespaces is cumbersome, having to create a client per queue. I'd like to 
delegate most of that to the component. another option is to pass the fully 
qualified namespace and an instance of an azure identity credential, falling 
back to a DefaultCredential() if none is provided. this seems to be in line 
with the best practice for Azure AD auth with any Azure SDK. What do you think?

Link for reference: [Azure Service Bus client library for Java | 
https://docs.microsoft.com/en-us/java/api/overview/azure/messaging-servicebus-readme?view=azure-java-stable#create-a-service-bus-client-using-microsoft-identity-platform-formerly-azure-active-directory]


was (Author: JIRAUSER285714):
makes sense. like i said, the configuration for multiple queues in 2+ 
namespaces is cumbersome, having to create a client per queue. I'd like to 
delegate most of that to the component. another option is to pass the fully 
qualified namespace and an instance of an azure identity credential, falling 
back to a DefaultCredential() if none is provided. this seems to be in line 
with the best practice for Azure AD auth with any Azure SDK. What do you think?

Link for reference: [Azure Service Bus client library for Java | Microsoft 
Docs|https://docs.microsoft.com/en-us/java/api/overview/azure/messaging-servicebus-readme?view=azure-java-stable#create-a-service-bus-client-using-microsoft-identity-platform-formerly-azure-active-directory]

> Add ServiceBusClientBuilder to Azure ServiceBus component
> ---------------------------------------------------------
>
>                 Key: CAMEL-17706
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17706
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-azure
>    Affects Versions: Future
>            Reporter: MattV
>            Priority: Minor
>              Labels: azure, servicebus
>             Fix For: 3.x
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Add the option to pass a ServiceBusClientBuilder to the azure-servicebus 
> component as a uri parameter. The use case would be to use a custom builder 
> to configure AzureAD authentication rather than using a connection string, 
> and allow for configuration for more than one service bus namespace. 
> Currently that configuration is cumbersome, needed to instantiate an async 
> client for each queue to be sent to/received from. Passing a client builder 
> to the endpoint uri would greatly simplify that configuration.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to