On Fri, 2009-11-20 at 01:19 -0800, Saurbaum wrote: > > > Timothy Bish wrote: > > > > > > It would be helpful to know what version of the client you are using > > along with some more info about your clients such as the acknowledgement > > mode you are using, whether or not you are setting expiration times on > > messages etc. There's just not enough information here to give you a > > definite answer. > > > > Regards > > Tim. > > > > Turns out it was the expiry time on the messages with system clocks not > being synced closely. > > Is there some setting you can use in CMS (latest release) so that when it > logs the messages it'll state it's reasons for discarding a message? Or is > that left as an exercise for the reader? > > Ian
There isn't any option that will do that no. You can add logging in the consumer code to do so if you want, the method "afterMessageIsConsumed" in ActiveMQConsumer.cpp would be the single point to do that as all expired messages get marked as consumed there. Regards Tim.
