SAX (Simple API for XML) provides a mechanism for reading data from an XML document that is an alternative to that provided by the Document Object Model (DOM). Where the DOM operates on the document as a whole, SAX parsers operate on each piece of the XML document sequentially. SAX is supported by several libraries … Continue reading Open source SAX parsers for Delphi and Free Pascal
ScroogeXHTML 6.7 – fast RTF to HTML / XHTML converter
Habarisoft is pleased to announce the release of ScroogeXHTML 6.7, a fast RTF to HTML / XHTML converter library for Delphi and Free Pascal. This is mainly a bug fix release. New in release 6.7 Support for mixed case RTF tokens Fixed support for output without indentation (SCROOGE_NO_INDENT option) Updated documentation Removed debug mode (replaced … Continue reading ScroogeXHTML 6.7 – fast RTF to HTML / XHTML converter
Send secure SMTP email from Delphi applications
Introduction Sending email from Windows, Android and iOS Delphi applications over public SMTP servers requires an encrypted connection. Internet Direct (Indy) configuration for SSL/TLS connections is shown in this example source code. Disclaimer This code is mostly based on code posted in the Embarcadero forum and here. Example usage procedure TFormMailDemo.ButtonSendClick(Sender: TObject); var Mail: TSSLEmail; … Continue reading Send secure SMTP email from Delphi applications
ActiveMQ, Qpid, HornetQ and RabbitMQ in Comparison
An article by Thomas Beyer (also available in German language) gives a short introduction into popular messaging solutions which are available as free open source projects. "Newer architectures and the standardized AMQP protocol have led to a flood of message brokers. All brokers take claim to be fast, robust and reliable. But what really distinguish … Continue reading ActiveMQ, Qpid, HornetQ and RabbitMQ in Comparison
Query ActiveMQ Broker Statistics with Delphi
Broker Configuration To configure ActiveMQ to use the statistics plugin add the following to the ActiveMQ XML configuration: <plugins> <statisticsBrokerPlugin/> </plugins> The statistics plugin looks for messages sent to particular destinations. Query running broker statistics To query the running statistics of the message broker, the client sends an empty message to a Destination named ActiveMQ.Statistics.Broker, … Continue reading Query ActiveMQ Broker Statistics with Delphi
Indy 10 TIdTCPServer: Server-side message push example
Get the source code on Github This example uses a Delphi 2009 VCL application with a main form, which contains only one visual component, a TMemo named "MemoLog". Client and server are both started in the FormCreate event. [sourcecode language="Delphi"] procedure TServerPushExampleForm.FormCreate(Sender: TObject); begin ExampleServer := TMyPushServer.Create; ExampleServer.DefaultPort := 8088; ExampleServer.Active := True; ExampleClient := … Continue reading Indy 10 TIdTCPServer: Server-side message push example
AMQP, MQTT, and STOMP Messaging Protocols compared
Andy Piper / vFabric Team published an article in 2013 about three popular protocols for message broker client/server communication: Choosing Your Messaging Protocol: AMQP, MQTT, or STOMP. The STOMP specification (currently at 1.2) can be found here. For Delphi and Free Pascal developers, Habarisoft offers STOMP client libraries designed for and tested with popular open … Continue reading AMQP, MQTT, and STOMP Messaging Protocols compared
Habari Client libraries release 2014.03
Habarisoft announces new release Habari Client libraries are Delphi and Free Pascal libraries for application integration with five popular open source message brokers. Updated versions of these libraries are now available. New features and improvements in this release include improved support for transacted sessions, improved support of STOMP specification for message header properties, more unit … Continue reading Habari Client libraries release 2014.03
A RESTful CRUD demo application with Delphi
Habari Web Components is a web application framework for small to medium size HTTP services, based on the Internet Direct (Indy) library. A new demo application - included with full source code in demo/restful-crud - exposes a RESTful API which supports HTTP GET / POST / DELETE commands to read, create and delete data. The … Continue reading A RESTful CRUD demo application with Delphi
Habari Client libraries – new features in first 2014 release (planned for Q1)
Transaction support for message receipt acknowledgement Transactional sending of messages was already supported in all versions of Habari Client libraries. Some library versions1 now also support commit and roll back for the acknowledgement of received messages. When a transaction is rolled back or the connection is closed without a commit, messages which have been acknowledged … Continue reading Habari Client libraries – new features in first 2014 release (planned for Q1)