Does anyone know of any limitation of the time needed to Connect/Open and Disconnenct/Close the connections to the queue. I have a client application (written in C++) that is rapidly performing the following steps:
- Connect
- Open
- Put
- Close
- Disconnect
The time between the Disconnect and the next Connect is sometimes as short as 10 milliseconds. On the server side it is seeing the Open and Put, but not the Close/Disconnect, and as a result it is creating a handle leak. I'm not sure whether or not the problem is being caused by the speed in which I am making calls. Is it possible that I need to leave more time between Disconnect and Connect because the Disconnect is not being given time to adequately finish? I can see this being a problem, but I would have thought that eventually the Disconnect would be processed, instead of it not being seen at all.
Thanks in advance,
MikeR
- Connect
- Open
- Put
- Close
- Disconnect
The time between the Disconnect and the next Connect is sometimes as short as 10 milliseconds. On the server side it is seeing the Open and Put, but not the Close/Disconnect, and as a result it is creating a handle leak. I'm not sure whether or not the problem is being caused by the speed in which I am making calls. Is it possible that I need to leave more time between Disconnect and Connect because the Disconnect is not being given time to adequately finish? I can see this being a problem, but I would have thought that eventually the Disconnect would be processed, instead of it not being seen at all.
Thanks in advance,
MikeR