Habari STOMP Client for OpenMQ is a high-level, object-oriented STOMP client library for Delphi and Free Pascal which provides access to the Eclipse OpenMQ free open source message broker.
language
With this library, developers can build integrated solutions, connecting cross language clients and protocols, using the peer-to-peer or the publish-and-subscribe communication model.favorite_border
It is easy to configure and provides a high-level API and programming model, based on connections, sessions, destinations, message producers, and message consumers.filter_list
The library uses the STOMP Streaming Text Oriented Messaging Protocol for its communication with the message broker, which uses an interoperable wire format.Connects to a message broker instance with default port and credentials, and sends a persistent text message with a message property.
Factory: IConnectionFactory
...
Factory := TBTConnectionFactory.Create('stomp://example.com');
...
procedure SendHelloWorld;
var
Ctx: IMQContext;
Destination: IDestination;
TextMessage: ITextMessage;
begin
Ctx := Factory.CreateContext;
try
Destination := Ctx.CreateQueue('hello_world');
TextMessage := Ctx.CreateTextMessage('Hello, World!');
TextMessage.SetStringProperty('language', 'en');
Ctx.CreateProducer
.SetDeliveryMode(dmPersistent)
.Send(Destination, TextMessage);
finally
Ctx.Close;
end;
end;
Connects to a message broker instance with default port and credentials, and receives a text message.
Factory: IConnectionFactory
...
Factory := TBTConnectionFactory.Create('stomp://example.com');
...
procedure ReceiveHelloWorld;
var
Ctx: IMQContext;
Destination: IDestination;
Consumer: IMQConsumer;
TextMessage: ITextMessage;
begin
Ctx := Factory.CreateContext;
try
Destination := Ctx.CreateQueue('hello_world');
Consumer := Ctx.CreateConsumer(Destination);
TextMessage := Consumer.Receive(2500) as ITextMessage;
if Assigned(TextMessage) then
ShowMessage(TextMessage.Text);
finally
Ctx.Close;
end;
end;
Habari STOMP Client libraries support broker-specific extensions of the STOMP specification. Most extensions and features can be used across all Habari Client Library editions. Exceptions are marked with ⓘ here and in the feature matrix.
timer
By default, a message never expires. If a message will become obsolete after a certain period, however, you may want to set an expiration time for the message.
traffic
A client can specify a priority for each message it sends. Message priorities affect the order in which the messages are delivered to the consumers.
storage
Brokers support reliable messaging by allowing messages to be persisted so that they can be recovered if there is a failure which kills the broker.
pause_circle_outline
Even if the client which created the durable subscription is not online, it can still get a copy of all the messages sent to the topic when it comes back online.
import_export
Binary and text messages can be exchanged between STOMP and non-STOMP clients. (Object and map messages are exchanged as text messages.)
sync
Temporary destinations are typically used to receive response messages in a request/response messaging exchange.
filter_list
Message selectors allow a subscription to only receive a subset of the messages sent to a destination.
Eclipse Open Message Queue (Eclipse OpenMQ) is a complete message-oriented middleware platform, offering high quality, enterprise-ready messaging.
OpenMQ is included in Eclipse GlassFish.
https://github.com/eclipse-ee4j/openmq
Read the "Getting Started" user guide for Habari STOMP Client for OpenMQ
Browse the online API documentation for Habari STOMP Client for OpenMQ
Browse release notes (new features, enhancements, and bug fixes)
Frequently asked questions: use cases, licensing, and technical
Contact Habarisoft for support and sales inquiries
View the Habari STOMP Client feature matrix
get_app
Try before you buy - get the demo applications of Habari STOMP Client for OpenMQ:
The demo download includes:
… and the full version adds several broker-specific demos, with source code.
add_shopping_cart
Obtain a subscription-based Single Developer License for Habari STOMP Client for OpenMQ:
Subscribe »To cancel a subscription, visit the Paddle customer portal.
lock
Registered users may download the installer for Habari STOMP Client for OpenMQ version 10.3-RC2 here:
Download Installer lockThe installer includes: