integración ServiceBus Azure

Realizar 2 Services Bus de Azure que se requieren para 2 procesos

Este es un ejemplo de como consumirlo por .net

pero se requiere en PHP o escucho propuestas


using System;

using [login to view URL];

using [login to view URL];

using [login to view URL];

using [login to view URL];

using [login to view URL];

namespace ExampleReciveMessage


class Program


private const string ServiceBusConnectionString =


const string SubscriptionName = "masdeloque";

static ISubscriptionClient subscriptionClient;

static void Main(string[] args)




static async Task MainAsync()


var csb = new


subscriptionClient = new SubscriptionClient(csb, SubscriptionName);

[login to view URL]("======================================================");

[login to view URL]("Press any key to exit after receiving all the


[login to view URL]("======================================================");

// Register Subscription's MessageHandler and receive messages in a



[login to view URL]();

await [login to view URL]();


static void RegisterOnMessageHandlerAndReceiveMessages()


// Configure the MessageHandler Options in terms of exception

handling, number of concurrent messages to deliver etc.

var messageHandlerOptions = new



// Maximum number of Concurrent calls to the callback

`ProcessMessagesAsync`, set to 1 for simplicity.

// Set it according to how many messages the application wants to

process in parallel.

MaxConcurrentCalls = 1,

// Indicates whether MessagePump should automatically complete

the messages after returning from User Callback.

// False below indicates the Complete will be handled by the User

Callback as in `ProcessMessagesAsync` below.

AutoComplete = false


// Register the function that will process messages

[login to view URL](ProcessMessagesAsync,



static async Task ProcessMessagesAsync(Message message, CancellationToken



// Process the message

[login to view URL]($"Received message:

SequenceNumber:{[login to view URL]}

Body:{[login to view URL]([login to view URL])}");

// Complete the message so that it is not received again.

// This can be done only if the subscriptionClient is created in

[login to view URL] mode (which is default).


[login to view URL]([login to view URL]);

// Note: Use the cancellationToken passed as necessary to determine

if the subscriptionClient has already been closed.

// If subscriptionClient has already been Closed, you may chose to

not call CompleteAsync() or AbandonAsync() etc. calls

// to avoid unnecessary exceptions.


// Use this Handler to look at the exceptions received on the MessagePump

static Task ExceptionReceivedHandler(ExceptionReceivedEventArgs



[login to view URL]($"Message handler encountered an exception

{[login to view URL]}.");

var context = [login to view URL];

[login to view URL]("Exception context for troubleshooting:");

[login to view URL]($"- Endpoint: {[login to view URL]}");

[login to view URL]($"- Entity Path: {[login to view URL]}");

[login to view URL]($"- Executing Action: {[login to view URL]}");

return [login to view URL];




Compétences : Azure, Programmation C#, Serveur SQL Microsoft, PHP, Architecture Logicielle

en voir plus : azure lead generation, azure creative studio, como realizar count registro php report maker, azure service bus pricing, service bus c#, azure service bus architecture, azure service bus tutorial, azure service bus documentation, azure service bus vs rabbitmq, azure service bus vs event hub, azure service bus topic, sharepoint azure, azure platform, azure dot net, azure platform price, realizar grid php mysql, aspnet code using drag n drop, realizar factura con builder, realizar head para web photoshop, azure dotnet

Concernant l'employeur :
( 42 commentaires ) Bogota, Colombia

Nº du projet : #19982894

2 freelance font une offre moyenne de $61 pour ce travail


I have gone through your project description thoroughly and understand the scope of work. I have few questions to ask in order to clarify my doubts regarding the deliverables. Please initiate chat for further dis Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(1 Évaluation)

Hello! Your proposal looks really interesting for me because work on this area of technologies is good challenge. I like helping you to resolve your tasks and realise your decisions for improving business using web Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(0 Commentaires)