EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PostMessage vs. SendMessage

Posted: 01/27/2010 12:45:45
by Malcolm Toon (Standard support level)
Joined: 01/20/2010
Posts: 22

Quick question.. if I want to send a collection of sequenced messages, will post message deliver the messages in the same order as send message? I know it's an odd question because send message with naturally sequence based on the blocking nature of the call, but I'm curious if PostMessage guarentees the sequence is preserved.

Thank you!
Posted: 01/27/2010 12:52:21
by Eugene Mayevski (Team)

Yes, the order will be preserved. But PostMessage will discard messages if they are not delivered. This can cause drop of some messages. With SendMessage you at least know that delivery failed and can re-send the message.

Sincerely yours
Eugene Mayevski



Topic viewed 3982 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!