Kbase P50916: How to avoid SonicMQ 4GL adapter exceeding JMS-MAXIMUM-MESSAGES
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  22/09/2005 |
|
Status: Unverified
FACT(s) (Environment):
SonicMQ
Progress 9.1D
SYMPTOM(s):
The maximum number of messages is 50 . Call deleteMessage IN message-handle
or increase the value of the JMS-MAXIMUM-MESSAGES global INT variable.
SonicMQ 4GL Adapter seemed to hang, and would not function correctly until re-started.
JMS-MAXIMUM-MESSAGES exceeded the default value of 50.
CAUSE:
The Adapter was attempting to send messages to a non-existent temporary queue. The messages remained in memory and reached the default of 50, causing the exception to be thrown.
FIX:
Delete unused messages using the deleteMessage method of the Message object:
RUN deleteMessage in <handle>.