I'm writing a service based on the server.cpp and multithreaded_client.cpp
examples. I'm maintaining a map of senders to reply to the clients (which
are using a dynamic queue), but I don't know how to tell when the client
goes away, so my map just continues to increase in size.

I've tried setting the source_options and target_options on both sides to
have an expiry_policy of LINK_CLOSE and a timeout of IMMEDIATE, but still I
don't see anything different.

Is there a way I can do this? Or do I need to bounce a message to the client
every once in a while to see if it's still there?



--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to