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!

Mercator 6.7.1 and IBM Websphere MQ Client Adapter

Status
Not open for further replies.

MarkX1

Programmer
Mar 17, 2005
7
BE
I have a map that is triggered through a MQseries-InputCard (via the Event server) using the following commands :

-CVT -QMN <myQMgr> -QN <MyQName> -QTY S -LSN 30

Tracing and logging has showed that i' am reading between 30 and 50 messages / second... (1 run processes about 1500 messages)
Does the -LSN adapter means that it always reads during 30 seconds before starting the map ? (even if only 1 message is present ?)
I've tried with the -LSN 0 param, but then the map doesn't trigger...
My goal is rather simple :
- Start the map on arrival of (any number) of messages
- Read all messages of the Q.
- Process them

Important to mention : RunOnly1InstanceAtATime = true

What can I do to achieve my goal ? Any help would be appreciated...
 
Have you tried using -MID * and no -QTY and No -LSN?

Uncomment pollwaitimemin and set to 20 to 40.(in the mercator.ini file)

You may need -REFRESH is the messages on the queue could be commited out of order. If this is used I also suggest using the -EQN option.

The -CVT indicates the source is on mainframe.



JuJutsu - Jeff S.
Support Analyst
 
Thx JuJutsu...
I will try these out as soon as possible...
(will post feedback)


 
JuJutsu,

When setting the - MID * param (even in combination with pollwaitimemin) makes the map :
- read 1 message at a time
- process 1 message

Our current solution is the most acceptable (-QTY S -LSN 30)
for us if we would know the answer to the next question :

"Does the -LSN 30 parameter mean that the adapter always 'listens' during 30 seconds before starting the map ? (even if only 1 message is present ?)"
 
Yes. -LSN 30 means listen for 30 seconds. YOu still need the -refresh and -eqn options based on your description.





JuJutsu - Jeff S.
Support Analyst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top