Results 1 to 2 of 2

Thread: Publish-subscribe channel messages are passed by reference?

Threaded View

  1. #1
    Join Date
    Oct 2012
    Posts
    10

    Default Publish-subscribe channel messages are passed by reference?

    Hi Integrators,

    I have a question about a publish-subscribe channel. It seems to me, that the very idea of this channel is to send a separate message to subscribed listeners, but what I see in my test project is that if one of the listeners attempts to change the incoming message, this change is propagated to all other listeners, so the message is passed by reference, not a separate copy created for every listener. Is it by design? Or am I missing something?

    Thanks in advance for your response!
    Last edited by maxvor; Oct 16th, 2012 at 04:19 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •