How to Migrate a JMS Application to Apache Pulsar Using Starlight for JMS API
Starlight for JMS is a powerful API built on Apache Pulsar that helps developers create reliable, easy-to-scale, and fast applications. It implements both JMS 1.1 and JMS 2.0 specifications and can be used by simply including its Java library dependency in your application and replacing the legacy JMS dependency. Starlight for JMS stores messages in an Apache Pulsar cluster and offers several benefits to JMS applications, such as robust authentication mechanisms like JSON Web Token (JWT) based authentication. The connection properties fall into several categories: related to establishing a connection to the Pulsar cluster, related with Starlight for JMS API behavior itself, and related with fine-tuning Pulsar producer and consumer behaviors. Starlight for JMS also supports JNDI lookup and implements JMS message payload types by mapping them to Pulsar BYTES message type. It provides support for JMS message producers, consumers, queue browsers, and the Request-Response pattern. The code changes required to upgrade existing JMS applications to Starlight are minimal due to its compatibility with JMS spec 2.0 and backward compatibility with JMS spec 1.1.
Company
DataStax
Date published
June 23, 2022
Author(s)
Yabin Meng
Word count
1263
Hacker News points
None found.
Language
English