.net - How to get only Websphere MQ messages with a particular priority in C#? -


i'm developing application in c# using ibm websphere mq api (v7.5) main goal getting messages queue , store them in database. well, know , browse messages. must process messages differently according priority.

is there "simple" way messages given priority ?

i don't want use dirty trick browsing through messages, storing id of messages i'm interested in, , getting them 1 one. read in mq documentation can use selector string browse through particular messages using sql syntax, don't find how in c#.

thanks lot !

as of in mq .net, can use mqc.mqmo_match_msg_id , mqc.mqmo_match_correl_id match options messages match message id or correlation id. getting messages matching priority not available.

alternatively switch using xms .netthat allows consumers created sql92 style selection string. example can create consumer selection string "jmspriority > 3 , manufacturer = 'jaguar'" receive messages have jmspriority of 3 , manufacturer name jaguar.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -