RedisMessageProducer
Assembly: ServiceStack.Client.dll
View Source
Declaration
public class RedisMessageProducer : IMessageProducer, IDisposable, IOneWayClient
Properties
ReadWriteClient
View Source
Declaration
public IRedisNativeClient ReadWriteClient { get; }
Methods
Publish<T>(T)
View Source
Declaration
public void Publish<T>(T messageBody)
Parameters
Type | Name |
---|---|
<T> | messageBody |
Type Parameters
T
Publish<T>(IMessage<T>)
View Source
Declaration
public void Publish<T>(IMessage<T> message)
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessage<T> | message |
Type Parameters
T
SendOneWay(Object)
View Source
Declaration
public void SendOneWay(object requestDto)
Parameters
Type | Name |
---|---|
System.Object | requestDto |
SendOneWay(String, Object)
View Source
Declaration
public void SendOneWay(string queueName, object requestDto)
Parameters
Type | Name |
---|---|
System.String | queueName |
System.Object | requestDto |
SendAllOneWay(IEnumerable<Object>)
View Source
Declaration
public void SendAllOneWay(IEnumerable<object> requests)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<System.Object> | requests |
Publish(String, IMessage)
View Source
Declaration
public void Publish(string queueName, IMessage message)
Parameters
Type | Name |
---|---|
System.String | queueName |
ServiceStack.Messaging.IMessage | message |
Dispose()
View Source
Declaration
public void Dispose()
Implements
- ServiceStack.Messaging.IMessageProducer
System.IDisposable
- ServiceStack.IOneWayClient