Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with free open source message brokers. Tested with current message broker versions Apache ActiveMQ 5.11.0 Apollo 1.7 HornetQ 2.4.0.Final Open MQ 5.1 b09 RabbitMQ 3.4.3 Fixes The throughput test application uses the subscribe.receipt=true connection parameter to ensure that the broker … Continue reading Habari Client libraries release 2015.02
Habari Client libraries release 2014.09
Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with free open source message brokers. Tested with current message broker versions Apache ActiveMQ 5.10.0 Apollo 1.7 HornetQ 2.4.0.Final Open MQ 5.1 b09 RabbitMQ 3.3.5 Fixes Unhandled Exceptions in WaitForReceiptFrame are re-raised to notify client code about the exception Fixed compiler … Continue reading Habari Client libraries release 2014.09
Open source REST client libraries for Delphi
delphi-oopdelphi-oop includes a REST client to consume RESTful web services using your own annotated class (similar to JAX-RS). It supports Google OAuth 2.0 authentication. The library is mostly tested with Delphi XE and hosted on Google Code at https://code.google.com/p/delphi-oop/Code example: (more examples on the project page)[sourcecode lang="delphi"] TODataNorthwindClient = class(TSvRESTClient) public [GET] [Path('/Customers')] [Consumes(MEDIA_TYPE.JSON)] function … Continue reading Open source REST client libraries for Delphi
Open source SAX parsers for Delphi and Free Pascal
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
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