Skip to content

Commit

Permalink
Fixed configuration subscription topic for json single reference prot…
Browse files Browse the repository at this point in the history
…ocol. (#45)

Version upped to 2.6.9.
  • Loading branch information
luxa94e authored and Nikola Antic committed Jul 13, 2018
1 parent 0d17ea0 commit 4e59f57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

group 'com.wolkabout'

version '2.6.8'
version '2.6.9'

apply plugin: 'java'
apply plugin: 'maven-publish'
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repositories {
}
dependencies {
compile 'com.wolkabout:wolk:2.6.8'
compile 'com.wolkabout:wolk:2.6.9'
}
```

Expand All @@ -33,7 +33,7 @@ Maven
<dependency>
<groupId>com.wolkabout</groupId>
<artifactId>wolk</artifactId>
<version>2.6.8</version>
<version>2.6.9</version>
<type>pom</type>
</dependency>
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void messageArrived(String topic, MqttMessage message) throws Exception {
}
});

client.subscribe("configurations/commands/" + client.getClientId() + "/#", new IMqttMessageListener() {
client.subscribe("configurations/commands/" + client.getClientId(), new IMqttMessageListener() {
@Override
public void messageArrived(String topic, MqttMessage message) throws Exception {
final String payload = new String(message.getPayload(), "UTF-8");
Expand Down

0 comments on commit 4e59f57

Please sign in to comment.