Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filtering on the Q

Status
Not open for further replies.

Hadrianus

Programmer
May 29, 2000
1
IE
Hi,<br><br>I have an application which monitors events across distributed systems, the SystemMonitor reads messages from a remote Q, displays the events to the user and writes the message to a database. The problem is if the application is not running for a period of time, and the user starts the app they will get all the messages. Is there an efficent way of filtering messages on the queue and delete them if they are there for a period of <b>time</b> & below a certain <b>priority</b>, as I need to log some messages or do I have to read all messages and do the filtering in the app.<br><br>regards <br>Hadrianus
 
Get the application that put the msg on the queue to specify<br>how long to hold with priority.<br>otherwise You will have to read all and do your own filtering.
 
Hi
I am doing some MQ application and I need to send a message using Msg Id and retrieve only the response to this message using Correl Id (at least I think thats what I should be doing).
When I send a message - I use the MQPMO_NEW_MSG_ID option to ask the Queue to create a new, unique message ID - but it doesn't seem to be doing this as every message which I put on the queue receives the same message Id (well it seems to anyway).

Am I missing something ? Or doing something wrong ?

Thanks in advance
Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top