Kbase P114121: Adapter for SonicMQ: Request/Reply example does not timeout.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/03/2006 |
|
Status: Unverified
FACT(s) (Environment):
SonicMQ
Progress 9.1x
OpenEdge 10.x
SYMPTOM(s):
Example20.p waits forever for reply message
Example20.p hangs if reply message is never sent
CAUSE:
Example20.p will wait forever for a reply message because the wait-for statement is used.
FIX:
Use the 4GL-JMS API call waitForMessages(). The third parameter of this call allows you to specify a timeout value.
See the modified example20.p below