Skip to content

Commit

Permalink
Fix failing to reconnect persisted session
Browse files Browse the repository at this point in the history
  • Loading branch information
anyflow committed Sep 11, 2016
1 parent 6366d80 commit c9e794f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 300 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Lannister is **under CONSTRUCTION**. But the most of features above are implemen
# Clone lannister source
git clone https://github.com/anyflow/lannister.git
# Change directory to lannister
cd lannister
Expand All @@ -49,16 +50,18 @@ mvn exec:java -pl server
```
## Version History
##### version 0.9.5.1 / Sep 11, 2016
- Start clustering TEST/FIX
- Fix failing subscription on existing topic
- Externalize Hazelcast config - Add hazelcast.config.xml
- Add docker file and docker property - Run maven with profile (mvn -Plannister.docker)
- Add docker file and docker property - Run maven with profile (mvn install -Plannister.docker)
- Add null checker in hazelcast serialization logics
- Fix bug - subscriptions remaining on disposing (clean) session
- Change WebSocket(s) ports to 9001, 9002
- Change WebSocket(ssl) ports to 9001(9002)
- Update Hazelcast version to 3.7.1
- Update Netty version to 4.1.5
- Add PMD / Findbugs / Jacoco / surefire reports
- Start clustering TEST/FIX
- Fix subscription failing on existing topic in clustered state
- Fix subscriptions remaining on disposing (clean) session
- Fix reconnect failing persisted session
- Fix remaining no subscriber topic

##### version 0.9.5.0 / May 21, 2016
- Code Review, Test based on chapter 3.2 of Spec v3.1.1 Mandatory normative statements
Expand All @@ -68,13 +71,13 @@ mvn exec:java -pl server
- Code Review, Test based on chapter 3.1 of Spec v3.1.1 Mandatory normative statements
- Implement full features of Protocol Specification MQTT version 3.1.1
- Add clustering
- Add WebSocket _(default port: 9001)_
- Add SSL _(default port: 8883, default WebSocket SSL port: 9002)_
- Add WebSocket _(default port: 2883)_
- Add SSL _(default port: 8883, default WebSocket SSL port: 9883)_
- Add plugin's : Framework & Default / Example Plugins
- Add admin HTTP REST APIs : listing topics, sessions

## Author
Park Hyunjeong / <anyflow@gmail.com>

## License
Lannister is released under version 2.0 of the [Apache License](http://www.apache.org/licenses/LICENSE-2.0).
Lannister is released under version 2.0 of the [Apache License](http://www.apache.org/licenses/LICENSE-2.0).
218 changes: 0 additions & 218 deletions hazelcast.config.xml

This file was deleted.

74 changes: 0 additions & 74 deletions lannister.cfg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ protected Sessions() {

public void put(Session session, ChannelHandlerContext ctx) {
synchronized (this) {
session.setConnected(true);
sessions.put(session.clientId(), session); // [MQTT-3.1.2-4]
clientIds.put(ctx.channel().id(), session.clientId());
ctxs.put(session.clientId(), ctx);
Expand Down

0 comments on commit c9e794f

Please sign in to comment.