question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ServiceBusTrigger Topic INameResolver

See original GitHub issue

The ServiceBusTrigger for a topic takes in two values, topicName and subscriptionName, which then gets ran through the INameResolver.

Is it possible for us to use two different implementation for the topic name and queue name.

Currently is doesn’t look like it is possible, but will it be considered?

https://github.com/Azure/azure-webjobs-sdk/blob/584a3f69194dd9a2d3b71947a1e706b59f168915/src/Microsoft.Azure.WebJobs.Extensions.ServiceBus/Triggers/ServiceBusTriggerAttributeBindingProvider.cs#L66-L67

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
cheng93commented, Dec 7, 2018

Note I actually have a workaround, but’s not very nice, and if we could have some interfaces to implement instead, that would be much preferred. i.e

  • ITopicNameResolver
  • ISubscriptionNameResolver

etc…

0reactions
cheng93commented, Feb 12, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I configure an Azure Function triggered by ...
I want to be able to control the name of the Service Bus Queue or Subscription that my Azure Function reads from at...
Read more >
Azure Service Bus trigger for Azure Functions
Use the Service Bus trigger to respond to messages from a Service Bus queue or topic. Starting with extension version 3.1.0, you can...
Read more >
How can I configure an Azure Function ... - appsloveworld.com
Coding example for the question How can I configure an Azure Function triggered by Service Bus with a custom INameResolver?
Read more >
Managing Azure WebJobs with Base Classes
For my purposes, I want to be able to trigger a function via a Service Bus topic in all environments. This could easily...
Read more >
configuration based queue or topic or subscription name ...
In this post we are going to see how to make a configured based queue or topic or subscription name for webjob processing....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found