Posted: Wed Mar 26, 2003 10:17 am Post subject: How does MQ client classes for Java handle unclean disconect
Novice
Joined: 05 Sep 2002 Posts: 11 Location: Chicago
Hi all,
My application code reads messages from a queue (waiting indefinately) and responds to them. My program only stops when it is specifically killed... this means that I can't handle a clean disconnect to the Queue Manager. When my program starts up it seems to sometimes 'miss' the first message or two that should be on the input queue. Could the problem be somewhere between the MQ client classes and my application code (due to the unclean disconnect)? I can confirm that the message is definately no longer on the full Queue Manager my application connects to. Is it possible that it has somehow been taken by the MQ Client classes code.... but that the MQ Client code doesn't pass on the messages to my application?
The java client behaves in the same way as the regular client in that it has an agent that does it work. If you aren't ending cleanly, this agent is getting your message and throwing it away.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum