Class SimpleMessageConverter
Inheritance
System.Object
SimpleMessageConverter
Implements
IServiceNameAware
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public class SimpleMessageConverter : object, IMessageConverter
Fields
|
Edit this page
View Source
DEFAULT_SERVICE_NAME
Declaration
public const string DEFAULT_SERVICE_NAME = null
Field Value
Type |
Description |
System.String |
|
Properties
|
Edit this page
View Source
ServiceName
Declaration
public string ServiceName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
FromMessage(IMessage, Type)
Declaration
public virtual object FromMessage(IMessage message, Type targetClass)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Type |
targetClass |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
FromMessage<T>(IMessage)
Declaration
public virtual T FromMessage<T>(IMessage message)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Declaration
public virtual IMessage ToMessage(object payload, IMessageHeaders headers)
Parameters
Returns
Implements
IServiceNameAware