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 » Message stays on queue for awhile before being processed

Post new topic  Reply to topic
 Message stays on queue for awhile before being processed « View previous topic :: View next topic » 
Author Message
unoriginalusername
PostPosted: Mon Mar 07, 2005 3:51 pm    Post subject: Message stays on queue for awhile before being processed Reply with quote

Newbie

Joined: 07 Mar 2005
Posts: 1

Hello,

I have an MDB that is sending a message to a queue using JMS and a message flow that is listening on the queue to receive the message. With smaller messages, everything goes smoothly, but with larger messages (600k +) it seems like the message just sits on the queue for about 30 seconds to a minute before the message flow picks it up and processes it.

Also, if I put the message directly onto the queue using rfhutil, it is processed immediately.

Any ideas of what I can do to fix this?

Thanks.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Mar 07, 2005 8:39 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Are you putting your message under syncpoint and forgetting to commit it or for J2EE apps, do you have the container set to commit every 30 seconds?

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
csmith28
PostPosted: Mon Mar 07, 2005 9:03 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

This is most likely an issue with the application code assuming there are no network or bandwidth issues. Not a problem with WMQ.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
malammik
PostPosted: Mon Mar 07, 2005 9:11 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

I assume you are running WAS. Could it be that your MDB then invokes another bean that does database operations and does not commit messages from the queue until it is done processing db operations. If I were I would turn on was tracing see what is happening
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Message stays on queue for awhile before being processed
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.