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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No need to execute the map, if there is no msg in MQ- How to achieve?

Status
Not open for further replies.

kid123

Programmer
Mar 11, 2003
12
0
0
IN
Hi,

We are using Mercator 6.7.1 version. In this, one audit msl
is looking for messages in audit queue. But due to some
high load on the server, we made this msl as time trigger
for every one second. Sometimes, whenever it does find
the msg in the MQ, it throws error in the launcher and this
causes many issues in turn.

To consolidate the issue, the msl should be time triggered,
looking for a msg in MQ, But it should not execute the map
if there is no msg found in the MQ. How to achieve this?

 
Use map1 to read the message queue and if a message if found run map2 to process the message.
 
Time trigger every 1 second only adds to the load. You might want to event trigger, with a -QTY and -LSN option, and change the poll time setting in the mercator.ini

This way, you only run when there is a message.

BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Hi,

Thanks for the very useful info. I understand abt
-qty and -lsn option, but not the poll time setting
in mercator.ini.

what does this do?.. My requirement is for a particular
msl, if I change the poll time setting in mercator.ini
I am not sure abt the impact on other msls. Can you
please brief it.

Thanks.
 
Poll time is only for those adapter that use polling. What adapters do you use?



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
If you only use MQ adapter, then polling will not effect other adapters.



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top