ARTMEIS-958 Route Will message outside server session
(cherry picked from commit 3bd5c9df6a
)
This commit is contained in:
parent
66c19d9408
commit
f25396d921
|
@ -133,7 +133,7 @@ public class MQTTConnectionManager {
|
|||
}
|
||||
|
||||
private void sendWill() throws Exception {
|
||||
session.getServerSession().send(session.getSessionState().getWillMessage(), true);
|
||||
session.getServer().getPostOffice().route(session.getSessionState().getWillMessage(), true);
|
||||
session.getSessionState().deleteWillMessage();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue