setReuseMessage procedure
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
setReuseMessage procedure
Instructs the Message Consumer object not to create a new message for each received message.
Syntax
|
Applies to
Message Consumer objects
Notes
- Calling setReuseMessage procedure 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
setReuseMessage procedure, getReuseMessage function
For more information, see the Reusing messages.