IMqCollection
Assembly: ServiceStack.dll
View Source
Declaration
public interface IMqCollection : IDisposable
Properties
ThreadCount
View Source
Declaration
int ThreadCount { get; }
QueueType
View Source
Declaration
Type QueueType { get; }
Methods
CreateWorker(String)
View Source
Declaration
IMqWorker CreateWorker(string mqName)
Returns
ServiceStack.Messaging.IMqWorker
Parameters
Type | Name |
---|---|
System.String | mqName |
Add(String, IMessage)
View Source
Declaration
void Add(string queueName, IMessage message)
Parameters
Type | Name |
---|---|
System.String | queueName |
ServiceStack.Messaging.IMessage | message |
TryTake(String, out IMessage)
View Source
Declaration
bool TryTake(string queueName, out IMessage message)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | queueName |
ServiceStack.Messaging.IMessage | message |
TryTake(String, out IMessage, TimeSpan)
View Source
Declaration
bool TryTake(string queueName, out IMessage message, TimeSpan timeout)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | queueName |
ServiceStack.Messaging.IMessage | message |
System.TimeSpan | timeout |
Clear(String)
View Source
Declaration
void Clear(string queueName)
Parameters
Type | Name |
---|---|
System.String | queueName |
GetDescription()
View Source
Declaration
string GetDescription()
Returns
System.String
GetDescriptionMap()
View Source
Declaration
Dictionary<string, long> GetDescriptionMap()
Returns
System.Collections.Generic.Dictionary<System.String,System.Int64>