Consultor Eletrônico



Kbase P109072: Adapter for SonicMQ: requestReply application hits JMS-MAXIMUM-MESSAGES
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/26/2008
Status: Verified

SYMPTOM(s):

4GL client produces a message to a SonicMQ destination using the 4GL-JMS requestReply procedure

A second 4GL client consumes the message and then uses the 4GL-JMS Auto Reply mechanism to reply to the temporary destination specified by the messages JMSReplyTo property

On the 50th consumed message the consuming 4GL client reaches the limit of message objects for JMS-MAXIMUM-MESSAGES and errors out

The maximum number of messages is 50. Call deleteMessage in message-handle or increase the value of the JMS-MAXIMUM-MESSAGES global INT variable.

FACT(s) (Environment):

Windows
UNIX
Progress 9.x
OpenEdge 10.x

FIX:

Use the 4GL-JMS setReplyAutoDelete procedure to automatically delete the auto reply message objects. See the notes section below for examples illustrating this.