0
虽然我在使用paho和spring框架的应用程序中修复了客户端中的一些问题,但我发现了MQTT的集成。我不确定这是否能解决我的问题,我甚至不知道这是什么。Paho MQTT vs MQTT paho spring集成
有人可以解释一起使用它的区别是什么?
Spring框架是否会带来错误,导致整合解决的问题?
还是存储足够用这两种技术分开?
由我使用的依赖关系:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>1.2.5.RELEASE</version>
</dependency>
<dependency>
<!-- Import dependency management from Spring Boot -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>1.2.5.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
和:
<dependency>
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
<groupId>org.eclipse.paho</groupId>
<version>1.0.2</version>
</dependency>
依赖的整合之下,将是相当痛苦的。我想知道这样做是否有优势。
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-mqtt</artifactId>
<version>4.0.4.RELEASE</version>
</dependency>
谢谢大家!