Using the module pymqi how do you get a message in MQ queue using a parameter, for example "UserIdentifier"? So, I would only get messages from the queue that possess this parameter "UserIdentifier". Thank you for your attention.
Asked
Active
Viewed 1,518 times
0
-
Is it part of message selector (JMS) or MQMD.UserIdentifier? – Umapathy Oct 16 '13 at 11:55
2 Answers
0
For the MQGET (MQGMO.MatchOptions) the option avaible are:
MQMO_MATCH_MSG_ID
MQMO_MATCH_CORREL_ID
MQMO_MATCH_GROUP_ID
MQMO_MATCH_MSG_SEQ_NUMBER
MQMO_MATCH_OFFSET
MQMO_MATCH_MSG_TOKEN
and obvious:
MQMO_NONE
I think this is self-istalling.
Although is expensive you can Browse for message and then Get, it depends on what and where you are working.

Thomas8
- 1,117
- 1
- 11
- 22