Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

have you tried an Azure data bus connection? Service endpoint?

Posted on by Microsoft Employee

I've got a service endpoint to an Azure Service Bus queue.  My compadre wrote an Azure function to forward some SOAP to the accounting system.

I just sent up 20 new productids at once (select 20, publish button.)  My plugin handles each one at a time so it becomes 20 messages on the queue.  The round-trips back to CE are sequential taking about a minute apiece (first one back in ~2 minutes, last one ~22 minutes.)

However, the Azure function log says none of its round-trips is longer than 10.24 seconds and that the messages are arriving a minute apart.

Where is this process being throttled and why?

I can't imagine CE is putting a minute between each IPluginExecutionContext.  So, I'm blaming the Azure Service Bus.

Am I justified and what can be done about it?

thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: have you tried an Azure data bus connection? Service endpoint?

    There's no plugin but, yes, the step is async.

    My compadre found a setting on the Azure side that controls the frequency of polling the queue.  It was set to 1 minute.  We tested it at 15 and 3 seconds.  Durations diminished to 5 and 2.5 minutes respectively.

    Consequence is that Microsoft charges per poll -- 3 seconds is 20 times more expensive than 1 minute.

    So, I was right in blaming Azure!

  • Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: have you tried an Azure data bus connection? Service endpoint?

    Is your plugin step registered as async?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans