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

After running a Map, Some Messages stay in Queue !!! 1

Status
Not open for further replies.

MrStiffler

Programmer
Jan 7, 2004
25
CH
There ist a map X that tracks every runing map. Therefor this Map X runs very often.
Every runing map generates a short message in a Queue Y.
After a mass testcase (40'000 runs) the map schould have read and deleted all messages in Queue Y.
Map X has a Source Event on Queue Y !
But it doesen't.
There is also a Errorqueue if the input canot be read, but no messages go to errorqueue !
After the Test some messages (ca. 6 ) stay in the queue !
What can be the reason that some messages stay in the queue in spite of the sourc event setting.

here are some maybe important Event Server Settings on the map X.

Workspace: File
pagesize: 64
pagecount: 8
...
WorkFilePrefix: MapName
Action: Delete

Max Concur. Maps: 0

Input
Fetch As: Integral
WorkArea: Create
FetchUnit: 1

Transaction
OnSuccsess: Delete
OnFailure: Rollback
Scope: Map
Warnings Ignore

No Retry
Source Event: ON
----------------
Thanks
 
Assuming you are using MQSeries, the way Mercator browses the queue before retrieving messages off the queue means that it occasionally misses messages on queues that are fed by other Mercator maps.

Adding the option -REFRESH 60 (refresh the queue every minute) to the adapter command solves the problem in this case,

Philip
 
Very good point.
I'm have made good experiences withe the -refresh 60 option.
Do you know how much more (%) performance is in use with this setting ?
Now it seems to be, that all messages will be read from the queue !
Thanks, good help !
stiffler
 
It's hard to say how this affects performance, we do have this option set on most of our queues, but taking into account all the other factors we know impact performance we have tended not to worry about this one,

Regards,

Philip
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top