Habari Client libraries release 2019.06

Habarisoft released the 2019.06 version of its Object Pascal STOMP client libraries for application integration with open source message brokers Apache ActiveMQ, Artemis, OpenMQ and RabbitMQ. The release includes Habari Client for ActiveMQ 6.2 - tested with Apache ActiveMQ 5.15.9 Habari Client for Artemis 6.2 - tested with Apache ActiveMQ Artemis 2.8.1 Habari Client for … Continue reading Habari Client libraries release 2019.06

Consuming Server-Sent Events (SSE) with Indy TIdHTTP and TIdEventStream

A new Indy HTTP client / JAX-RS server example is now available on GitHub. The server side generates Server-sent events. Server-sent events (SSE) is a technology enabling a browser to receive automatic updates from a server via HTTP connection. The example code uses TIdHTTP and TIdEventStream to connect to the server, and writes the incoming … Continue reading Consuming Server-Sent Events (SSE) with Indy TIdHTTP and TIdEventStream

Daraja HTTP Framework 1.2.5 released

The Daraja HTTP Framework is a free open source library for Object Pascal (Free Pascal 3.0.4, Delphi 2009+), based on the stand-alone HTTP server component in Internet Direct (Indy). The 1.2.5 release improves UTF-8 support for Free Pascal by "using" the LazUTF8 unit. More information - Home page: https://www.habarisoft.com/daraja_framework.html - API documentation: https://www.habarisoft.com/daraja_framework/1.2/docs/api/ - Getting … Continue reading Daraja HTTP Framework 1.2.5 released

Habari Client libraries release 2019.02

Habarisoft released the 2019.02 version of its Object Pascal STOMP client libraries for application integration with open source message brokers (Apache ActiveMQ, Artemis, OpenMQ and RabbitMQ). New in this release Delphi 6 support Linux support (experimental) for Delphi 10.3 Rio Fixed compiler error if HABARI_USE_INTERCEPT is enabled but HABARI_LOGGING is not Fixed compiler warnings and … Continue reading Habari Client libraries release 2019.02

Habari Client libraries release 2018.10

Habarisoft released the 2018.10 version of its Object Pascal STOMP client libraries for application integration with open source message brokers (Apache ActiveMQ, Artemis, OpenMQ and RabbitMQ). New in this release new simple API, based on interfaces MQContext, MQProducer and MQConsumer (the old API still may be used) Example: [sourcecode lang="Delphi" highlight="17,20"] procedure TNewApiTests.TestSendMessage; var Factory: … Continue reading Habari Client libraries release 2018.10

How not to re-raise an exception in Delphi

TL;DR Use raise; instead of  raise E; Long version In this code, when an exception caused by the ProduceMessage method got caught by the try ... except construct and reached the Break statement in the Exception handler, an EAccesViolation occured: [sourcecode lang="Delphi"] procedure TProducerLoop.Run; begin while True do begin Connect; while True do begin try … Continue reading How not to re-raise an exception in Delphi

Habari Client libraries release 2018.08

Habarisoft released the 2018.08 version of its Object Pascal STOMP client libraries for application integration with open source message brokers (Apache ActiveMQ, Artemis, OpenMQ and RabbitMQ). Resources Home page: https://www.habarisoft.com/index.html Feature matrix: https://www.habarisoft.com/index.html#feature_matrix About Habari Client libraries Habari Client libraries enable Object Pascal applications to take advantage of message broker / message queue technology – … Continue reading Habari Client libraries release 2018.08

ScroogeXHTML for Delphi 7.0 released

Version 7.0 of ScroogeXHTML for Delphi changes the default output document type to HTML5, added the TSxOptionsHead.MetaViewport property, removes unneccessary line breaks after <span style=, and contains minor maintenance changes Resources Demo version: https://www.habarisoft.com/scroogexhtml/7.0/ScroogeXHTMLDemo.zip User guide: https://www.habarisoft.com/scroogexhtml/7.0/docs/ScroogeXHTMLGettingStarted.pdf API: https://www.habarisoft.com/scroogexhtml/7.0/docs/api/index.html Home page: https://www.scroogexhtml.com/scroogexhtml_delphi.html ScroogeXHTML is also available for the Java platform.    

ScroogeXHTML for the Java™ platform 7.3 released

Habarisoft released version 7.3 of its RTF (Rich Text Format) to HTML5 and XHTML converter library, ScroogeXHTML for the Java™ platform. ScroogeXHTML is also available for Delphi 2009+ and Free Pascal. It converts a subset of RTF to HTML5 and XHTML, either as a complete document or as a fragment which may be embedded (inserted) … Continue reading ScroogeXHTML for the Java™ platform 7.3 released