This tutorial shows the steps to build and run web application on the Java platform with the NetBeans 6.9 IDE and GlassFish v3 which sends message to the OpenMQ Java Message Service (JMS) message broker included in GlassFish. A Delphi message consumer application created with the Habari OpenMQ Client library then can be used to … Continue reading Delphi Integration with the GlassFish v3 Application Server Part 1 – Sending Messages
Enterprise Messaging News (February 2011)
GlassFish 3.1 RC2 released February 11 - Build 41 of GlassFish 3.1, which is also the release candidate, integrates Jersey 1.5, Mojarra 2.1.0 Release Candidate 2, Grizzly 1.9.30, EclipseLink 2.2.0 RC3, Weld 1.1.0 final, and JavaDB 10.6.2.1. Just like previous milestones and promoted build, you can get RC 1 from http://download.java.net/glassfish/3.1/promoted/ Open Message Queue (OpenMQ) … Continue reading Enterprise Messaging News (February 2011)
How can I disable DUnit tests programmatically?
For integration tests of Habari ActiveMQ Client libraries, I created a DUnit test suite which runs once for every version of the message broker. Unfortunately, some of the tests always fail because of known bugs in the tested version of the message broker (not the client library). This means the test suites will never complete … Continue reading How can I disable DUnit tests programmatically?
Thread Synchronization with Guarded Blocks in Delphi
The Embarcadero DocWiki for Delphi recommends that "thread synchronization techniques should be based on SyncObjs.TEvent and SyncObjs.TMutex." There is, however, another synchronization class available since Delphi 2009: TMonitor. It uses the object lock which has been introduced in this version and which caused the size of TObject to increase by four bytes (for details read … Continue reading Thread Synchronization with Guarded Blocks in Delphi
Enterprise Messaging News (November 2010)
Stomp 1.1 Working Group The group for the specification and discussion of the Stomp messaging protocol is working on the next version 1.1 of the Stomp specification. Group members include representatives of popular open source message brokers including Apache ActiveMQ, JBoss HornetQ and Springsource RabbitMQ. The current draft is online at Github. A first experimental … Continue reading Enterprise Messaging News (November 2010)
Asynchronous Message Exchange between Delphi and PHP Web Applications
New demo code for Habari ActiveMQ Client shows how PHP web applications can use Apache ActiveMQ to exchange information with Delphi and Free Pascal applications.
Delphi Client Library for Open Message Queue (OpenMQ) and GlassFish v3
GlassFish v3 application server includes version 4.4 of Open Message Queue (OpenMQ), a Java Message Service (JMS) message broker, as the default JMS provider. For Delphi and Free Pascal developers, the interesting new feature in this release of OpenMQ is that it can exchange JMS messages with non-Java clients using the Stomp message protocol. Today, … Continue reading Delphi Client Library for Open Message Queue (OpenMQ) and GlassFish v3
Delay and Schedule Message Delivery with Apache ActiveMQ and Delphi
Apache ActiveMQ from version 5.4 has a persistent scheduler built into the ActiveMQ message broker. An ActiveMQ client can take advantage of a delayed delivery by using message properties. By setting properties of the JMS message, a client can set the time in milliseconds that a message will wait before being scheduled to be delivered … Continue reading Delay and Schedule Message Delivery with Apache ActiveMQ and Delphi
Query Statistics for Apache ActiveMQ with Delphi
Last October, Rob Davies wrote about the new Statistics plugin which is included in Apache ActiveMQ 5.3 and yesterday I found that it works very well using Delphi and the Habari ActiveMQ Client library (using the Stomp protocol) too. Broker Configuration To configure ActiveMQ to use the statistics plugin just add the following to the … Continue reading Query Statistics for Apache ActiveMQ with Delphi