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 » Selectively read messages from queue based on priority

Post new topic  Reply to topic
 Selectively read messages from queue based on priority « View previous topic :: View next topic » 
Author Message
ramuks1
PostPosted: Tue Jan 20, 2009 6:03 pm    Post subject: Selectively read messages from queue based on priority Reply with quote

Newbie

Joined: 20 Jan 2009
Posts: 2

Hi,

We use MQ Servies version 5.3 on windows.

Is there a facility in MQ Java APIs to read only messages with a certain priority from a Queue?

Thanks in advance

Harikumar
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Jan 20, 2009 10:37 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

Priority is not a selection criteria for a message. messages can be processed fifo or by priority. If you process by priority, you can not pick up a specific priority, you always get the highest priority first and within the priority fifo.

if you want to do that, you have to code it on your own, but i suggest to use one of the selection fields for messages, instead of the priority.
_________________
Regards, Butcher
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 » Selectively read messages from queue based on 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.