Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Dec 2, 2023
1 parent 772464d commit 10c7ce2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
### 1、Start the server (more deployment references: [deployment Notes](deploy))

```
docker run -p 18602:18602 -p 8602:8602 noearorg/folkmq-server:1.0.12
docker run -p 18602:18602 -p 8602:8602 noearorg/folkmq-server:1.0.13
```

### 2、Write client-side code
Expand All @@ -102,7 +102,7 @@ docker run -p 18602:18602 -p 8602:8602 noearorg/folkmq-server:1.0.12
<dependency>
<groupId>org.noear</groupId>
<artifactId>folkmq-transport-java-tcp</artifactId>
<version>1.0.12</version>
<version>1.0.13</version>
</dependency>
</dependencies>
```
Expand All @@ -123,7 +123,7 @@ public class ClientDemo1 {
});

//Publish
client.publish("demo", "helloworld!").get();
client.publish("demo", new MqMessage("helloworld!")).get();
}
}
```
Expand Down

0 comments on commit 10c7ce2

Please sign in to comment.