Свойство | Type | Description | |
---|---|---|---|
LOG | log4net.ILog |
Méthode | Description | |
---|---|---|
QueueListener ( IAmqpMessageBus messageBus, string queueName, bool queueIsDurable, IEnumerable |
Start up an new Queue Listener bound on the supplied queue name, with the provided EnvelopeHander dealing with new messages.
|
|
StartListening ( ) : void |
Begin listening for messages on the Queue.
|
|
StopListening ( ) : void |
stop listening on the queue, thereby stopping the background thread.
|
public QueueListener ( IAmqpMessageBus messageBus, string queueName, bool queueIsDurable, IEnumerable |
||
messageBus | IAmqpMessageBus | /// Message bus. /// |
queueName | string | /// The name of the queue to watch /// |
queueIsDurable | bool | /// Queue is durable. /// |
routes | IEnumerable |
/// Routes. /// |
envelopeHandler | IEnvelopeHandler | /// the handler that deals with incoming envelopes /// |
Résultat | System |