Posted: Mon Aug 27, 2007 7:39 am Post subject: Set delay time to 0
Novice
Joined: 27 Aug 2007 Posts: 10
Hi!
I'm using the JMS java api to read from a queue than link IMS and unix (was 6.0)
I use the receive() metod to reed from this queue but, since the message has arrived to the queue (curdepth(1)) untill this message has bean read (curdepth(0)) it delays 5 seconds.
Posted: Mon Aug 27, 2007 9:02 am Post subject: Re: Set delay time to 0
Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
stsm wrote:
I use the receive() metod to reed from this queue but, since the message has arrived to the queue (curdepth(1)) untill this message has bean read (curdepth(0)) it delays 5 seconds.
How can I set this delay time to 0 seconds?
Hi,
There is no such thing. Mostly likely the sending application is in the middle of a transaction. Hence, the current-depth goes to 1 when they send the message but it is invisible UNTIL they commit their transaction.
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