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 #rfi1387308690980 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

#rfi1387308690980, getReuseMessage function

For more information, see the Reusing messages.