Re: A question to OutboundTcpConnection.expireMessages()

2014-01-28 Thread Robert Coli
On Mon, Jan 27, 2014 at 11:40 PM, Lu, Boying wrote: > When I read the codes of OutboundTcpConnection.expireMessages(), I found > the following snippet in a loop: > > if (qm.timestamp >= System.currentTimeMillis() - > qm.message.getTimeout()) > > *return*; > > > > My understan

A question to OutboundTcpConnection.expireMessages()

2014-01-27 Thread Lu, Boying
Hi, All, When I read the codes of OutboundTcpConnection.expireMessages(), I found the following snippet in a loop: if (qm.timestamp >= System.currentTimeMillis() - qm.message.getTimeout()) return; My understanding is that this method is to remove all the expired messages fro