Message Filtering

Support for MQSeries and Websphere Message Oriented Middleware communication systems for z/OS

Message Filtering

Postby ABiradar » Wed Feb 23, 2011 4:59 pm


I have an Shared MQ bieng read by 4 Programs. Say PROG1, PROG2, PROG3 and PROG4.
Their are 4 different Programs which put Messages on this que Say PUT1, PUT2, PUT3 and PUT4. All will have a different message Header.
Say Put1 puts message with Header MQPUT1 and PUT2 with MQPUT2 and so on......,

I want design my application such that PROG1 reads messages put by PUT1 only and PROG2 put by PUT2 only.

Can I filter the messages based on the header.

Thanks in Advance
Posts: 2
Joined: Mon Dec 20, 2010 9:36 am
Has thanked: 0 time
Been thanked: 0 time

Re: Message Filtering


Re: Message Filtering

Postby dick scherrer » Thu Feb 24, 2011 8:32 am


Suggest you consider 4 queues and save all of the complexity. . .
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6269
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Return to WebSphere MQ


  • Related topics
    Last post