Hello, I was wondering if there was a technical way for a Java client to understand whether a message fetched from a queue is "fresh" or rather it was added to the queue while the client was not connected? The reason is to distinguish a /downloading/ phase where the client starts and reads all the existing messages from the queue, thus re-synchronizing with the broker, followed by a /running/ phase where it reads new messages as they come.
I understand you could rely on application-specific timestamps included in each message, but a) it depends on the broker whether there is such a timestamp in the message; b) it may need the client and broker clocks to be aligned some way. Any advice is welcome. Thanks Marco -- View this message in context: http://qpid.2158936.n2.nabble.com/Distinguish-fresh-messages-in-queue-tp7600878.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
