Interface MessageDispatchChannel
Defines an interface for a Message Channel used to dispatch incoming
Messages to a Session or MessageConsumer. The implementation controls
how the messages are dequeued from the channel, one option is for a
FIFO ordering while another might be to sort the Message's based on the
set Message Priority.
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
public interface MessageDispatchChannel
Properties
|
Improve this Doc
View Source
Closed
Declaration
bool Closed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Count
Declaration
Property Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Empty
Declaration
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Running
Declaration
bool Running { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SyncRoot
Declaration
Property Value
Type |
Description |
System.Object |
|
Methods
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
Close()
Declaration
|
Improve this Doc
View Source
Dequeue(TimeSpan)
Declaration
MessageDispatch Dequeue(TimeSpan timeout)
Parameters
Type |
Name |
Description |
System.TimeSpan |
timeout |
|
Returns
|
Improve this Doc
View Source
DequeueNoWait()
Declaration
MessageDispatch DequeueNoWait()
Returns
|
Improve this Doc
View Source
Enqueue(MessageDispatch)
Declaration
void Enqueue(MessageDispatch dispatch)
Parameters
|
Improve this Doc
View Source
EnqueueFirst(MessageDispatch)
Declaration
void EnqueueFirst(MessageDispatch dispatch)
Parameters
|
Improve this Doc
View Source
Peek()
Declaration
Returns
|
Improve this Doc
View Source
RemoveAll()
Declaration
MessageDispatch[] RemoveAll()
Returns
|
Improve this Doc
View Source
Signal()
Declaration
|
Improve this Doc
View Source
Start()
Declaration
|
Improve this Doc
View Source
Stop()
Declaration