Thursday, February 27, 2014

How to Publish and Consume messages using RabbitMQ?

With the evolution of distributed computing paradigm, often the processes are running on different physical platforms. However, as the processing becomes distributed, you start worrying about how the systems can be connected together. This elicit the need for a reliable communication mechanism which can send messages between discrete components of an application. Hence, Message Queues are developed which act as a broker that facilitate message passing which other services can access. 
In this topic, we will develop a small Producer-Consumer application using RabbitMQ.

A little background...

RabbitMQ is open source message broker solution that implements Advanced Message Queuing Protocol (AMQP).


Message Broker
Communication flow using a Message Broker

Tuesday, February 11, 2014

How to build a voice application using Twilio?

This topic talks about step by step process to build a voice application using Java and Twilio. In this blog, we will see how to make a call to another phone number using Twilio and also convert browser as a phone and start receiving calls on browser.

A little background…


Twilio is a cloud communications company which provides Web APIs to build voice, VOIP and SMS applications. In this post, we will cover how to use these APIs to make an outbound call and start conversation.

Twilio handles call instructions in realtime using TwiML(Twilio Markup XML) hosted as a Web API. 


Twilio-Outbound-Call-Flow
Figure 1: Outbound call flow using Twilio