worker role message contents retrieval.

Hello All,

I am new to Azure and web roles/worker roles and am exploring.

I have an application that I am sending a message via service bus queue to a Cloud service worker role.  I can send the message and verify retrieval by the worker role by using the Trace in the Compute Emulator.

Now I would like to simply extract the values from the message and apply a simple mathematical calculation with them, as well as view them on a web page.

I have a Frontend worker role that contains the MVC controllers and views, and I have my WorkerRole that is getting the message, (receiving the message from the service bus).

I would like to pass the message contents to the Frontend to be used in the MVC.

I am a little confused as to how to pass the information forward.

Is there a tutorial somewhere that I may be referred to?

Thank you,

Andres

April 28th, 2015 4:23am

Hi,

  Please refer to the following link from stackoverflow which talks about a similar scenario
http://stackoverflow.com/questions/9875289/using-service-bus-to-send-messages-from-a-web-role-to-all-other-web-roles

Regards,
Nithin Rathnakar

     
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 2:45am

Hi Andres,

You can use Pub/Sub feature of Redis Azure cache. Roles either web or worker can publish a message to Redis channel and all active subscribers receives the message.

https://github.com/StackExchange/StackExchange.Redis#documentation

Jagadeesh


April 29th, 2015 6:16am

Hi,

  Please refer to the following link from stackoverflow which talks about a similar scenario
http://stackoverflow.com/questions/9875289/using-service-bus-to-send-messages-from-a-web-role-to-all-other-web-roles

Regards,
Nithin Rathnakar

     
  • Marked as answer by orion033 2 hours 59 minutes ago
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 6:43am

Hi,

  Please refer to the following link from stackoverflow which talks about a similar scenario
http://stackoverflow.com/questions/9875289/using-service-bus-to-send-messages-from-a-web-role-to-all-other-web-roles

Regards,
Nithin Rathnakar

     
  • Marked as answer by orion033 Thursday, April 30, 2015 4:17 AM
April 29th, 2015 6:43am

Hi,

  Please refer to the following link from stackoverflow which talks about a similar scenario
http://stackoverflow.com/questions/9875289/using-service-bus-to-send-messages-from-a-web-role-to-all-other-web-roles

Regards,
Nithin Rathnakar

     
  • Marked as answer by orion033 Thursday, April 30, 2015 4:17 AM
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 6:43am

Hi Andres,

You can use Pub/Sub feature of Redis Azure cache. Roles either web or worker can publish a message to Redis channel and all active subscribers receives the message.

https://github.com/StackExchange/StackExchange.Redis#documentation

Jagadeesh


April 29th, 2015 10:15am

Hi Andres,

You can use Pub/Sub feature of Redis Azure cache. Roles either web or worker can publish a message to Redis channel and all active subscribers receives the message.

https://github.com/StackExchange/StackExchange.Redis#documentation

Jagadeesh


Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 10:15am

Thank you.  I am looking into this deeper.  Very interesting.
April 30th, 2015 1:39pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics