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.

Setting up EnableCrossEntityTransactions for ServiceBusClient bind in ServiceBusTriggered function

See original GitHub issue

Query/Question Hi,

I am trying to do transaction processing with servicebus inside a ServiceBusTrigger like shown in the image: image

However when I run it I get the following error: image

It seems I am somehow missing setting up the ServiceBusClient that I bind in my parameters to have EnableCrossEntityTransactions How do I do this? I can’t seem to find it in the docs.

Environment:

  • Azure.Messaging.ServiceBus 7.5.0
  • Windows 10 and .NetCore3.1
  • IDE and version : [e.g. Visual Studio 16.3]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mfi-cvationcommented, Nov 24, 2021

Thank you very much for the quick reply! This is great!

0reactions
JoshLove-msftcommented, Nov 25, 2021

The docs PR has been merged and should be live on docs site shortly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Service Bus bindings for Azure Functions
This version allows you to bind to types from Azure.Messaging.ServiceBus. This extension version is available by installing the NuGet package, ...
Read more >
Building resilient azure functions with retry policies
Use ServiceBus client for retries (default configuration handles that); Be cautious of the running time — the caller is waiting, and quick ...
Read more >
Azure Functions V4 // ServiceBusTrigger and binding ...
I am working on an Azure Function (in-process model, V 4.1) ... ServiceBusMessageActions messageReceiver, ServiceBusClient client).
Read more >
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 Functions Transaction Mode Error - .NET 6.0
I want to publish a message within my Azure Function, ... public override void Configure(IFunctionsHostBuilder builder) { var services ...
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