【问题标题】:Spring Integration, MQTT Support, get Broker answer after calling MessageChannel sendSpring 集成,MQTT 支持,调用 MessageChannel 发送后得到 Broker 应答
【发布时间】:2014-07-16 15:26:15
【问题描述】:

MessageChannel send 方法只返回一个布尔值,指示消息是否已发送

boolean send(Message<?> message)

可以实现一种方法来让代理回答 PUBACK (QoS 1) 或 PUBREC、PUBCOMP (QoS 2) 吗?

【问题讨论】:

    标签: spring-integration mqtt


    【解决方案1】:

    我们刚刚添加了获取delivery confirmation events 的功能。

    【讨论】:

    • 在 Gradle 中使用未发布的 Spring:url "http://repo.spring.io/libs-snapshot/" compile 'org.springframework.integration:spring-integration-mqtt:4.1.0.BUILD-SNAPSHOT'
    猜你喜欢
    • 1970-01-01
    • 2017-07-23
    • 1970-01-01
    • 2021-08-22
    • 2017-06-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-16
    相关资源
    最近更新 更多