Class SimpleMessageConverter
Inheritance
System.Object
SimpleMessageConverter
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public class SimpleMessageConverter : AbstractMessageConverter
Constructors
|
Edit this page
View Source
SimpleMessageConverter(ILogger<SimpleMessageConverter>)
Declaration
public SimpleMessageConverter(ILogger<SimpleMessageConverter> logger = null)
Parameters
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
DefaultCharset
Declaration
public string DefaultCharset { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
ServiceName
Declaration
public override string ServiceName { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
|
Edit this page
View Source
Declaration
protected override IMessage CreateMessage(object payload, IMessageHeaders messageProperties, object conversionHint)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
IMessageHeaders |
messageProperties |
|
System.Object |
conversionHint |
|
Returns
Type |
Description |
IMessage |
|
Overrides
|
Edit this page
View Source
FromMessage(IMessage, Type, Object)
Declaration
public override object FromMessage(IMessage from, Type targetType, object convertionsHint)
Parameters
Type |
Name |
Description |
IMessage |
from |
|
Type |
targetType |
|
System.Object |
convertionsHint |
|
Returns
Type |
Description |
System.Object |
|
Overrides