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 » Putting Options in MQ

Post new topic  Reply to topic
 Putting Options in MQ « View previous topic :: View next topic » 
Author Message
priyanky
PostPosted: Fri Sep 19, 2008 4:05 am    Post subject: Putting Options in MQ Reply with quote

Newbie

Joined: 19 Sep 2008
Posts: 1

When I put messages on to the Queue using a java stub, it successfully places the messages onto the Queue,but the application picks up the messages one by one in sequence.
But when the same thing is done using a Jmeter or manually(by placing the messages using MQbrowser) those are picked up in a lot of 10 as mentioned in the WAS listener port settings.
Can any one suggest what property am i missing to set in my Java stub.



Tried : Increasing priority of the messages.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Sep 19, 2008 5:00 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You can only pick up one message at a time from an MQ queue. If your app does that 10 times in a row before presenting the 10 to the front end that's specific to your application design.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Sep 19, 2008 1:24 pm    Post subject: Re: Putting Options in MQ Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

priyanky wrote:
When I put messages on to the Queue using a java stub, it successfully places the messages onto the Queue,but the application picks up the messages one by one in sequence.
But when the same thing is done using a Jmeter or manually(by placing the messages using MQbrowser) those are picked up in a lot of 10 as mentioned in the WAS listener port settings.
Can any one suggest what property am i missing to set in my Java stub.
Tried : Increasing priority of the messages.

This has nothing to do with MQ and all to do with MDB settings.
You can also check the qcf settings on MQ where I believe you can fix a limit, default being 10?

The MDB can allow you to process multiple messages in a single UOW. This is configurable and the main reason for this behaviour is speed.
Read up on your WAS manual...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Putting Options in MQ
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.