Commit 2377bb6b authored by afreyssin's avatar afreyssin
Browse files

Bug fix: in case of local interaction between the proxy and the destination...

Bug fix: in case of local interaction between the proxy and the destination the ClientMessage is sent in non persistent mode and the client should be notify after the destination reaction. Before this patch if TTL are set the CM could be deleted and the client is blocked, so we remove the expiration date on the CM in case of local sending.
parent add85c77
......@@ -515,6 +515,7 @@ public final class ProxyImpl implements java.io.Serializable, ProxyImplMBean {
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, " -> local sending");
not.setPersistent(false);
not.setExpiration(0L);
if (req.getAsyncSend()) {
not.setAsyncSend(true);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment