Delphi Client for HornetQ: sending 11000+ STOMP messages per second

79microsecondsWith the current release of Habari Client for HornetQ, Delphi and Free Pascal applications can send messages to a HornetQ message broker at a rate of more than 11000 to 12000 messages per second (less than 80 microseconds per message) – on very modest hardware and running the HornetQ server on the same system, even while receiving more than 1000 messages per second from the same broker.

The next release will introduce support for STOMP level 1.2 and the HornetQ 2.3.0 open source message broker.

 

 

Habari Client for HornetQ 2.0 released

April 2, 2013 – Habarisoft is pleased to announce release 2.0 of Habari Client for HornetQ. HornetQ is an open source project from the JBoss Community to build a multi-protocol, embeddable, very high performance, clustered, asynchronous messaging system. HornetQ is the default Java Message Service (JMS) provider in JBoss Application Server, but can also used stand-alone.

This library provides Delphi and Free Pascal developers access to production-ready and industry standard based cross-platform application integration, using the peer-to-peer or the publish/subscribe communication model.

Continue reading

The easy way to update Internet Direct (Indy)

Updating Internet Direct (Indy) 10 component packages in the Delphi IDE to a newer version is quite time-consuming. Doing backups, searching and removing old source and binary files, changing IDE paths – all these steps cause developers to think twice before trying a new release of the Indy library. Quick switching between versions – to do a quick compatibility test – would be very welcome.

But there is a solution – runtime creation of components. Then, instead of installing the new component versions in the IDE palette, just add the Indy library paths to the project or IDE library search path(s).

Continue reading

Habari Client libraries new versions released

The new release of Habari message broker client libraries introduces new features, including:

  • new connection parameter “send.receipt” to enable broker receipt confirmations for all outgoing messages
  • new connection parameter “disconnect.receipt” to enable broker receipt confirmations for disconnect operations
  • new connection parameter “tcp.keepalive” to enable TCP keep-alive (Indy only)
  • resource saving on-demand creation of threads for asynchronous message receive
  • improved support for heart-beating

The full release notes are included in the “Getting Started” PDF documentation.

Continue reading

Habari Chat: message exchange for Delphi applications

habarichatHabari Chat is a demo application for the Habari Client libraries, available with full source code and as executable in the demo downloads.

Sending broadcast messages

After choosing a chatroom name and a nickname, the user interface allows to send text messages. For system messages – for example when users enter or leave a chatroom – the code below is used:

Continue reading

Automatic reconnect with Habari message broker client libraries

The next release of Habari message broker client libraries includes an example for automatic reconnect in case of connection loss.

It uses two nested loops, where the outer loop connects and disconnects, and the inner loops processes (sends or receives) messages. If an exception occurs while sending or receiving data on the TCP socket, the program leaves the inner loop, closes the connection and restarts the outer loop.

Continue reading

Ubuntu 13.04 will ship with RabbitMQ 3.0.2 (or newer)

From the launchpad details, the rabbitmq-server included in Ubuntu 13.04 will be at least v3.0.2-1. From the release schedule the final freeze is upon us so it is unlikely that any newer version will be included.

For Delphi and Free Pascal, Habarisoft offers a client library for RabbitMQ wich has been tested with RabbitMQ 2.8.7 and RabbitMQ 3.0.4.

Habari Client open source message broker libraries

The next major versions of Habari message broker client libraries for Delphi and Free Pascal are close to release. The new versions introduce options for easier detection of connection loss, reduced resource usage for synchronous operation mode, improved support for heart-beating (on STOMP 1.1 capable message brokers), source code refactorings, and have been tested with the open source message brokers Apache ActiveMQ 5.8.0, Apollo 1,6, HornetQ 2.3.0.CR1, OpenMQ 4.5.3 and RabbitMQ 3.0.4.

Habari Client Libraries

Red Hat introduces JBoss A-MQ

JBoss A-MQ is intended as a “lightweight” alternative to Red Hat’s own Enterprise Service Bus (ESB) and used to be known as Fuse Message Broker. The technology is mainly based on the Apache ActiveMQ messaging platform.

News blog (h-online.com): A new ESB and messaging platform join Red Hat’s middleware

Red Hat JBoss A-MQ product page

Red Hat JBoss A-MQ download page

Delphi and Free Pascal can connect to ActiveMQ using the native Habari Client libraries from Habarisoft.