On 1/26/22 03:48, Anupam Basak wrote:
Hi,
I am evaluating AMQP 1.0 for one of my projects. I came across qpid.
There I found two Java client libraries for AMQP.
I would like to know the difference between ProtonJ and Proton-J2 and
which one should be preferred.
Thanks
--
Anupam Basak
The protonj project is primarily an AMQP 1.0 protocol engine and as such
unless you are writing a client or server from scratch it probably does
not provide the feature set you need if indeed you are looking for an
AMQP 1.0 client. The protonj engine has been used as the basis for
several AMQP 1.0 clients and servers and is well tested, if you need
something like a JMS client then Qpid JMS which uses the original
protonj engine would be a good choice as both are very mature projects
at this point.
The protonj2 project hosts both an AMQP 1.0 protocol engine and an
imperative API client which leverages that engine. The protonj2
protocol engine is a more reactive based implementation as compared to
the original protonj engine and is aimed at easing some of the pain
points encountered from implementations based on that engine. The
project is relatively new and has not yet had an official 1.0 release so
you can expect that should you take it up you may encounter bugs that
haven't been spotted yet but the client and engine is fairly well tested
so it'd be great to have some early adopters giving it a try and report
back.
--
Tim Bish