ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Set delay time to 0

Post new topic  Reply to topic
 Set delay time to 0 « View previous topic :: View next topic » 
Author Message
stsm
PostPosted: Mon Aug 27, 2007 7:39 am    Post subject: Set delay time to 0 Reply with quote

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.

How can I set this delay time to 0 seconds?

Thanks!
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Aug 27, 2007 9:02 am    Post subject: Re: Set delay time to 0 Reply with quote

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.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
stsm
PostPosted: Tue Aug 28, 2007 2:14 am    Post subject: Reply with quote

Novice

Joined: 27 Aug 2007
Posts: 10

Thanks Roger.

It seems that the solution is setting up the Batch Interval (BATCHINT) parameter into the sender. By default it was set on 5000 miliseconds.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Set delay time to 0
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.