Android应用程序已连接到ActiveMQ服务器 [英] Android application connected to an ActiveMQ server

查看:578
本文介绍了Android应用程序已连接到ActiveMQ服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以创建一个通过ActiveMQ服务器发送和接收消息的Android应用程序?如果完成了,您可以给我看看一些例子吗?

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

推荐答案

您可以使用Stomp Java库从队列中使用 https://github.com/fusesource/stompjms

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

此处是与activemq对话的android应用示例. https://github.com/jsherman1 /android-mqtt-demo

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支持MQTT协议,并将自动在 JMS/NMS和MQTT客户端. MQTT是机器对机器(M2M) 发布/订阅消息传递.

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.

这篇关于Android应用程序已连接到ActiveMQ服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆