-
Armando Rogerio Brandao Guimaraes Jr
- PowerBuilder
- Wednesday, 2 October 2019 02:00 PM UTC
There is a way to integrate PowerBuilder with a ServiceBus Trigger? Using PowerBuilder Standard Edition.
Example in C#:
using Microsoft.Azure.WebJobs;using Microsoft.Azure.WebJobs.Host;using Microsoft.ServiceBus.Messaging;using System;using System.Threading.Tasks;
namespace Azure.Functions.Functions.Processing{ public static class Function { [FunctionName("Processing")] public static async Task Run([ServiceBusTrigger("processing", AccessRights.Manage, Connection = "ProcessQueue")]string myQueueItem, TraceWriter log) { try { await new MyClass(log).Execute(myQueueItem); } catch (Exception exception) { log.Error($"Exception occured: {exception}"); throw; } } }}
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.