O'Reilly logo

Windows® CE 3.0 Application Programming by Marshall Brain, Nick Grattan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Message Timeouts, Acknowledgements, and Administration Queues

So far, the code used to send messages has only checked to see whether the message could be added to a queue—there is no check that the message could be sent to its final destination queue, possibly on a different computer. For reliable message transfer, you can specify a timeout value which, if exceeded, will result in an acknowledgement message being placed in an administration queue. You can then read messages from this administration queue to determine which messages failed to reach their destination. Administration queues are ordinary private queues you create using MQCreateQueue.

Since you may be sending many different messages, it is important that you can match up the messages ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required