Discuss this help topic in MsgConnect Forum

Queue class

Properties     Methods     Events     See also    


Queue objects are used for addressing and processing of messages.

Description

    Queues are used for effective dispatching of messages. One can add several handlers and define, which messages each handler will handle. This allows to make an application code more structured and avoid huge message processing functions, so common in early days of Windows programming.

    Access handlers list with Handlers property. Bind the queue to the messenger using Messenger property.

    To send the message to the queue, you need to give queue a name with a QueueName property. Read more about the name of the queue in discussing Addressing topics.

    When the message is received by the queue, it searches for the proper handler in the list of handlers. If the handler is not found, OnUnhandledMessage event is fired.

Properties

Methods

Events

Discuss this help topic in MsgConnect Forum