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:

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

 

Upgrade discount

For existing users, upgrade discounts are available.

About Habari Client libraries

habari_logo_2016Habari 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.

Advertisements

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_logo_2016Habari 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.

Connect Delphi and Free Pascal applications with WildFly 12 Final

Earlier this year, Red Hat released WildFly 12 Final, a free and open source Java EE application server for the Java platform. If you need to exchange data between Delphi or Free Pascal code and WildFly, you can follow these steps for a quick demonstration of the Habari Client for Artemis library from Habarisoft

Read the full article: https://habarisoft.wordpress.com/2018/04/07/connect-delphi-and-free-pascal-applications-with-wildfly-12-final/

Habari Client libraries release 2017.04

Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with popular free open source message brokers. This release has been tested with Apache ActiveMQ 5.14.5, Apache ActiveMQ Artemis 2.0, OpenMQ 5.1.1 and RabbitMQ 3.6.9. It contains enhancements and better test case organization of the included DUnit / FPCUnit test projects, which now prefer Stomp 1.2 over Stomp 1.0. It also introduces the IConnectionInfo interface, which returns broker version string and Stomp version of the current connection. Starting with this release, the library requires Delphi 2009 or Free Pascal 3.0.2 (or newer), it is not compatible with non-Unicode versions of Delphi. The internal version numbers of all client libraries in the 2017.04 release is 5.0.0.

Full release notes are available at https://www.habarisoft.com/releases/2017.04/

habari_logo_2016Habari 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.

Consume ActiveMQ JMS MapMessages from Delphi

One outstanding feature of the popular Apache ActiveMQ message broker is its rich message conversion capability, which allows cross-platform/cross-language exchange by serialization of JMS object and map messages to XML or JSON. Non-Java clients do not have to support the native ActiveMQ wire protocol. Instead, they can use a simple protocol such as STOMP.

Continue reading “Consume ActiveMQ JMS MapMessages from Delphi”