Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : setReuseMessage procedure
 

setReuseMessage procedure

Instructs the Message Consumer object not to create a new message for each received message.

Syntax

PROCEDURE setReuseMessage.

Applies to

Message Consumer objects

Notes

*Calling setReuseMessageprocedure improves performance. If the procedure is not called, the Message Consumer object creates a new message for each received message.
*A message that is being reused should not be deleted before the session is deleted.

See also

setReuseMessageprocedure, getReuseMessagefunction
For more information, see the Reusing messages.