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 Message from Queue based on MQMessage Priority

Post new topic  Reply to topic
 Get Message from Queue based on MQMessage Priority « View previous topic :: View next topic » 
Author Message
smuks
PostPosted: Mon May 02, 2005 7:35 am    Post subject: Get Message from Queue based on MQMessage Priority Reply with quote

Newbie

Joined: 02 May 2005
Posts: 2

Is this possible? I haven't got this to work.
The mqmessage.priority does not seem to act as a filter for receiving messages.
Any sample code for this?
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon May 02, 2005 8:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I thought that the default was to get messages based on priority based on the MSGDLVSQ field of the queue definition.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jefflowrey
PostPosted: Mon May 02, 2005 8:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I do not believe it is possible to select messages from a queue based on priority - that is, I don't think you can ask for priority 5 messages regardless of whether or not there are priority 6 messages on the queue.

If you are getting messages in priority order, and the last message you got was a priority 5, and a new priority 6 message comes in, that is the message you will get next, not the next priority 5 message.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
smuks
PostPosted: Mon May 02, 2005 8:46 am    Post subject: Reply with quote

Newbie

Joined: 02 May 2005
Posts: 2

thank you very much for your prompt reply.
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 API Support » Get Message from Queue based on MQMessage Priority
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.