I have a question about the qpid::client::MessageReplayTracker C++ class.  I am 
using a MessageReplayTracker to send messages to a broker.  Periodically when I 
close the session and connection object from another thread I receive the 
following warning message that is printed to stderr: "Warning ignoring frame 
while closing connection".

I assume that this warning is being generated because I am closing the session 
& connection while there is a message transfer in progress, is this correct?  
If this is the cause of the warning message then how do you flush and sync a 
MessageReplayTracker so that the session and connection can be closed without 
the warning message being printed and also ensure that all messages in the 
MessageReplayTracker have been sent?

I tried the following:

1. I attempted to call the method MessageReplayTracker::checkCompletion(), 
assuming that this would flush and sync the MessageReplayTracker object, but I 
still receiving the warning.
2. I tried to call flush, sync and close on the session object that I passed 
into MessageReplayTracker through the init() method, but this did not work 
either.

Thanks,
Wes

Reply via email to