Posted: Sun Jul 23, 2006 5:27 am Post subject: Re: MQ Java API to retrieve queue depth
Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
davidg wrote:
I need to get a queues current queue depth via the MQ java api.
I'm surprise FJ didn't say this: don't use the "current depth" as any true indicator for how many "gets" your program should perform. It doesn't accurately reflect how many messages are available for you to get, you should loop until a get fails with a 2033. _________________ -wayne
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