Habari Client for RabbitMQ is a library for Delphi and Free Pascal which provides access to the RabbitMQ open source message broker.

With this library, developers can build integrated solutions, connecting cross language clients and protocols, using the peer-to-peer or the publish-and-subscribe communication model.

Habari Client for RabbitMQ is easy to install and configure, and provides a high level API to access the message broker over Internet Direct (Indy) and Synapse based STOMP communication adapters.

About the RabbitMQ open source message broker

RabbitMQ logo

RabbitMQ provides robust messaging for applications. It is easy to use, fit for purpose at cloud scale and supported on all major operating systems and developer platforms.

RabbitMQ is designed from the ground up to interoperate with other messaging systems: it is the leading implementation of AMQP, the open standard for business messaging, and, through plug-ins, supports STOMP, HTTP for lightweight web messaging, and other protocols.


Demo applications

Download Demo Download (1.5 MiB) »

10 September 2014
Tested with:
RabbitMQ 3.3.5
Release notes:
Release notes in the "Getting Started" PDF and blog post
Demo applications:
Chat, Performance test, Throughput test

A local installation of a message broker is required for Habari Client for RabbitMQ demo applications.


Habari Client for RabbitMQ

✓ Instant electronic delivery
✓ Full library source code included
✓ Free redistribution with your product when used in binary compiled applications
✓ Non-exclusive life-time license
✓ Updates included for one year
✓ 60 days money back guarantee


Buy a license Buy a license » Buy 2 years updates »

Code Example

Code for sending (producing) messages:

// Getting connection from the server and starting it

ConnectionFactory := TBTJMSConnectionFactory.Create;
Connection := ConnectionFactory.CreateConnection;

// Messages are sent and received using a Session. We will
// create here a non-transactional session object. If you want
// to use transactions you should set the first parameter to 'true'

Session := Connection.CreateSession(False, amAutoAcknowledge);

// Destination represents here our queue 'ExampleQueue' on the
// server. You don't have to do anything special on the
// server to create it, it will be created automatically (except with HornetQ).

Destination := Session.CreateQueue('ExampleQueue');

// MessageProducer is used for sending messages (as opposed
// to MessageConsumer which is used for receiving them)

MessageProducer := Session.CreateProducer(Destination);                
// We will send a small text message saying 'Hello!' in Hindi:

TextMessage := Session.CreateTextMessage("नमस्ते!");
// Here we are sending the message



Quick Facts / Technical Information

Compilers Habari Client libraries are compatible with the compilers
✓ Delphi 2009+
✓ Free Pascal 2.6
For usage with Delphi 6 to 2007 please contact Habarisoft or check the FAQ.
TCP/IP Libraries The libraries include communication adapter units for the open source libraries
✓ Internet Direct (Indy) 10.6
✓ Ararat Synapse rev. 40
Logging Built-in optional support for the open source logging library Log4D.
100% Delphi No external libraries (DLL), compiles into the executable.
Issue tracking A web based bug tracking system is available (no login required).

Selection of Habari Client library users

Airport Business Information System GmbH - Hamburg Airport

Almasoft AB

Animolecular Ltd

Bally Technologies MCC

Bangkok Medical Software

Bas-X Business Management Services

BroadView Software, Inc.

Burrows Communications Ltd

C.Ed. Schulte GmbH

Cakra Technology

CDE nove tehnologije d.o.o.

Click And Deploy Pte. Ltd.

Codics Corp.

Command Alkon

Data Processors Pty Ltd

De Wolfe Limited

EMC Corporation


Evolucare Technologies


Glodon International Pte. Ltd.

Grupo Aduanal Galvan SC

HSEB Dresden GmbH

Intrion N.V.

IT ForYou

Kilchenmann AG

Kubikenborg Aluminium AB

NIZO food research B.V.

OEC Nederland B.V.

Optima Energy Systems Ltd



Quattro-Soft GmbH

RBK Automatisering bv

Sabre Travelocity


Taiwan Semiconductor Manufacturing Company Ltd

Tech Mahindra Ltd

The Burgiss Group, Inc.

Transrail Sweden AB