jbertram commented on PR #5956:
URL:
https://github.com/apache/activemq-artemis/pull/5956#issuecomment-3381683383
> Does the test run successfully with increased value (from 2 to 3 seconds)?
No. I even increased it to `30` and it still failed.
In any case, you can work-around the issue like so:
```java
if (protocol.equals(WSS)) {
willSender.disconnectForcibly(0, 0, false);
} else {
// for some reason disconnectForcibly doesn't work in this case so
we trick the broker into sending the LWT
getSessionStates().get(willSenderId).setFailed(true);
getSessionStates().get(willSenderId).setAttached(false);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact