I'm trying to implement an AMQP 1.0 client in my Android app, but I haven't been able to find a working solution so far.
I have already tried using the Apache QPID ProtonJ2
and Apache QPID JMS
libraries, but I’m encountering runtime errors due to missing dependencies for javax
package.
I then switched to Qpid ProtonJ
(version 1), which seemed to resolve the dependency issue, but now I'm having trouble with SASL authentication. The same code works fine on the JVM, but I can't get it to work on Android. I've tried various solutions, but none seem to work as expected.
Has anyone successfully implemented SASL authentication with ProtonJ on Android? Are there any workarounds or alternative libraries I could try?
Also, is ProtonJ still actively maintained and reliable as AMQP 1.0 client library?
Qpid proton-j is a maintained library which does ship with a minimal client that demonstrates how one can use the engine to create a working client, however the shipped client is not actively developed or designed to be production ready. For a full production ready client you would need to implement something on top of proton-j that meets your particular set of requirements or use another client. The Qpid JMS and protonj2 client libraries were never targeted at Android users and thus make use of packages in the javax region as those make sense for those clients and their requirements.
I'm unaware of an Android targeted client that you could use out of the box though.