Skip to main content

MessageQueueClientFactory

Assembly: ServiceStack.Client.dll
View Source
Declaration
public class MessageQueueClientFactory : IMessageQueueClientFactory, IDisposable

Methods

CreateMessageQueueClient()

View Source
Declaration
public IMessageQueueClient CreateMessageQueueClient()
Returns

ServiceStack.Messaging.IMessageQueueClient

PublishMessage<T>(String, IMessage<T>)

View Source
Declaration
public void PublishMessage<T>(string queueName, IMessage<T> message)
Parameters
TypeName
System.StringqueueName
ServiceStack.Messaging.IMessage<T>message
Type Parameters
  • T

PublishMessage(String, Byte[])

View Source
Declaration
public void PublishMessage(string queueName, byte[] messageBytes)
Parameters
TypeName
System.StringqueueName
System.Byte[]messageBytes

GetMessageAsync(String)

Returns the next message from queueName or null if no message

View Source
Declaration
public byte[] GetMessageAsync(string queueName)
Returns

System.Byte[]

Parameters
TypeName
System.StringqueueName

Dispose()

View Source
Declaration
public void Dispose()

Events

MessageReceived

View Source
Declaration
public event EventHandler<EventArgs> MessageReceived
Event Type

System.EventHandler<System.EventArgs>

Implements