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

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s