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 API Support » Get more than one message from queue

Post new topic  Reply to topic
 Get more than one message from queue « View previous topic :: View next topic » 
Author Message
navpav
PostPosted: Tue May 06, 2003 11:21 pm    Post subject: Get more than one message from queue Reply with quote

Novice

Joined: 01 Apr 2003
Posts: 12

Can we get more than one message from the queue without
setting the BROWSE option.
as in the case of dialup network the client has to access the server QM access the Queue and get the messages. If BROWSE option is set we
need to get the message twice means double the time

myQueue.get(myMessage, gmo);
gmo.options = MQC.MQGMO_MSG_UNDER_CURSOR;
myQueue.get(myMessage, gmo);
so performance is main hindrance.
help in this regard is highly appreciated.
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed May 07, 2003 5:28 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

I am afraid MQ doesnt have any such option. And the only alternative is to do multiple gets to get more than 1 message. MQ processess Only and Only 1 message at any point in time irrespective of the criterion that you specified on your get.

Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Get more than one message from queue
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.