Skip to main content

MessageExtensions

Assembly: ServiceStack.Client.dll
View Source
Declaration
public static class MessageExtensions

Methods

ToString(Byte[])

View Source
Declaration
public static string ToString(byte[] bytes)
Returns

System.String

Parameters
TypeName
System.Byte[]bytes

ToMessage(Byte[], Type)

View Source
Declaration
public static IMessage ToMessage(this byte[] bytes, Type ofType)
Returns

ServiceStack.Messaging.IMessage

Parameters
TypeName
System.Byte[]bytes
System.TypeofType

ToMessage<T>(Byte[])

View Source
Declaration
public static Message<T> ToMessage<T>(this byte[] bytes)
Returns

ServiceStack.Messaging.Message<T>

Parameters
TypeName
System.Byte[]bytes
Type Parameters
  • T

ToBytes(IMessage)

View Source
Declaration
public static byte[] ToBytes(this IMessage message)
Returns

System.Byte[]

Parameters
TypeName
ServiceStack.Messaging.IMessagemessage

ToBytes<T>(IMessage<T>)

View Source
Declaration
public static byte[] ToBytes<T>(this IMessage<T> message)
Returns

System.Byte[]

Parameters
TypeName
ServiceStack.Messaging.IMessage<T>message
Type Parameters
  • T

ToInQueueName(IMessage)

View Source
Declaration
public static string ToInQueueName(this IMessage message)
Returns

System.String

Parameters
TypeName
ServiceStack.Messaging.IMessagemessage

ToDlqQueueName(IMessage)

View Source
Declaration
public static string ToDlqQueueName(this IMessage message)
Returns

System.String

Parameters
TypeName
ServiceStack.Messaging.IMessagemessage

ToInQueueName<T>(IMessage<T>)

View Source
Declaration
public static string ToInQueueName<T>(this IMessage<T> message)
Returns

System.String

Parameters
TypeName
ServiceStack.Messaging.IMessage<T>message
Type Parameters
  • T

CreateMessageQueueClient(IMessageService)

View Source
Declaration
public static IMessageQueueClient CreateMessageQueueClient(this IMessageService mqServer)
Returns

ServiceStack.Messaging.IMessageQueueClient

Parameters
TypeName
ServiceStack.Messaging.IMessageServicemqServer

CreateMessageProducer(IMessageService)

View Source
Declaration
public static IMessageProducer CreateMessageProducer(this IMessageService mqServer)
Returns

ServiceStack.Messaging.IMessageProducer

Parameters
TypeName
ServiceStack.Messaging.IMessageServicemqServer