Is any amqp l开发者_JAVA技巧ibraries for Android?
It depends on how well integrated with Android you want it to be.
There's the RabbitMQ Java Client. It should work on Android, but it hasn't been tested for this, and it will almost certainly need some changes.
Currently, the RabbitMQ Java Client only works with AMQP 0-9. If you have an AMQP 1-0 broker it will not work. The Apache Qpid Client works with AMQP 1-0 but uses javax. An alternative is to use an HTTP-AMQP bridge. In other words, a component that translates HTTP requests into AMQP messages. A simple example of such a bridge can be found at https://github.com/profmocs/amqp_http_bridge.
精彩评论