Android application connected to an ActiveMQ server

时间秒杀一切 提交于 2020-01-05 08:22:38

问题


I wanted to know if it is possible to create an Android Application that sends and receives messages through the ActiveMQ server? if its been done can you show me some examples perhaps?

Thank you for taking the time to read


回答1:


you can use Stomp Java lib to consume from queues https://github.com/fusesource/stompjms

here an example of android app that talk to activemq https://github.com/jsherman1/android-mqtt-demo

https://dzone.com/articles/android-mqtt-activemq

http://activemq.apache.org/mqtt.html

ActiveMQ supports the MQTT protocol and will automatically map between JMS/NMS and MQTT clients. MQTT is a machine-to-machine (M2M) publish/subscribe messaging transport.



来源:https://stackoverflow.com/questions/42576046/android-application-connected-to-an-activemq-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!