Wildfly 8.0.0.Final中的CoAP和MQTT支持 [英] CoAP and MQTT support in Wildfly 8.0.0.Final
问题描述
我们在Wildfly 8.0.0服务器上部署了企业解决方案,我们打算同时支持CoAP和MQTT作为通信协议.我们进行了广泛的探索,但甚至找不到对问题案例的任何倾斜参考.可以添加CoAP和MQTT支持而不会破坏Wildfly设置的稳定性吗?
We have an enterprise solution deployed on Wildfly 8.0.0 server, we intend to support CoAP and MQTT also as communication protocol. We explored extensively but we couldn't find even any oblique reference to our problem case. Is it possible to add CoAP and MQTT support without destabilizing Wildfly setup ??
推荐答案
我认为从理论上讲,可以使用 https://www.eclipse.org/californium/.
I think theoretically it is possible to use a https://www.eclipse.org/californium/ within an EE server for CoAP.
这里的主要问题是Californium侦听UDP端口(也发送数据报). 因此,如果要遵守EE规范,则必须为此实现JCA适配器. 如果您希望一切正常,可以从JMX bean运行/管理它.
The main issue here is that Californium listens to an UDP port (and sends datagrams too). So if you want to stay within a EE specification, you'll have to implement a JCA adapter for that. If you want things to just work, you can run/manage it from a JMX bean.
这篇关于Wildfly 8.0.0.Final中的CoAP和MQTT支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!