MesssageQueue confustion

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian Keating

    MesssageQueue confustion

    Consider this,
    I've a sender and a receiver,
    The receiver creates the native message queue and waits on messages,
    The sender creates a message queue object and tries to send to the queue,

    This works the first time,

    Now the receiver goes away and deletes the native queue,
    The sender still manages to send to the queue with no exception even though
    the native queue no longer exists!

    Of course i can check if the Queue exists, but then i get the problem in
    that my receiver many have restarted and recreated the queue, and the sender
    holds a message queue object with a bad handle or something.

    anyone got any idea?

    thanks for any help
    brian

    Has anyone seen this behaviour?
Working...