How to: Habari Client for RabbitMQ evaluation with CloudAMQP

Habari Client for RabbitMQ is a library for Delphi and Free Pascal which provides access to the RabbitMQ open source message broker. Habarisoft offers example aplications for this client library including chat and performance tests, which need an installation of RabbitMQ. But while the RabbitMQ server installation itself is very simple, it also requires an installed Erlang run time environment, and so the preparing steps for client library evaluation take some time.

Fortunately, there is an easy way to avoid the RabbitMQ installation: CloudAMQP, a service which provides managed RabbitMQ servers in the cloud.

After a simple registration, clients can connect to the server using various standard protocols (AMQP, MQTT, STOMP). The CloudAMQ console page displays a connection URL for AMQP connections, which can be used with Habari Client for RabbitMQ chat application after small changes.

A valid URL for the Habari Chat demo application for CloudAMQP has the form stomp://<Server>?connect.host=<VHost>.

Example:

stomp://spotted-monkey.rmq.cloudamqp.com?connect.host=qwerty

Connection configuration

 

 

 

 

 

With the free CloudAMQP plan you can use up to three connections (chat applications) simultaneously.

Habari Client for RabbitMQ

Advertisements