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:
procedure TNewApiTests.TestSendMessage; var Factory: IConnectionFactory; Context: IMQContext; Destination: IQueue; Producer: IMQProducer; Consumer: IMQConsumer; TextMessage: ITextMessage; begin Factory := TBTConnectionFactory.Create; Context := Factory.CreateContext; try Destination := Context.CreateQueue('example_queue'); Producer := Context.CreateProducer; Producer.Send(Destination, 'Hello World'); Consumer := Context.CreateConsumer(Destination); TextMessage := Consumer.Receive(2500) as ITextMessage; CheckEquals('Hello World', TextMessage.Text); finally Context.Close; end; end;
- a new connection URL parameter “message.subscription_check=false” allows to subscribe from multiple destinations with a single consumer, by disabling a client-side check subscription id
- removed support for asynchronous message receive
Resources
Home page: https://www.habarisoft.com/index.html
Feature matrix: https://www.habarisoft.com/index.html#feature_matrix
FAQ: https://www.habarisoft.com/index.html#faq
Versions
The 2018.08 release includes
-
- Habari Client for ActiveMQ 6.0 – tested with Apache ActiveMQ 5.15.6
- Habari Client for Artemis 6.0 – tested with Apache ActiveMQ Artemis 2.6.2
- Habari Client for OpenMQ 6.0 – tested with OpenMQ 5.1.1
- Habari Client for RabbitMQ 6.0 – tested with RabbitMQ 3.7.8
Upgrade discount
For existing users, upgrade discounts are available.
About Habari Client libraries
Habari Client libraries enable Object Pascal applications to take advantage of message broker / message queue technology – which is distributed, loosely coupled, reliable and asynchronous – to build integrated systems, using peer-to-peer and publish-subscribe communication models.
Discover more from Habarisoft Blog
Subscribe to get the latest posts sent to your email.