Class StringMessageConverter
Inheritance
System.Object
StringMessageConverter
Implements
IServiceNameAware
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public class StringMessageConverter : AbstractMessageConverter, ISmartMessageConverter, IMessageConverter
Constructors
|
Edit this page
View Source
StringMessageConverter()
Declaration
public StringMessageConverter()
|
Edit this page
View Source
StringMessageConverter(Encoding)
Declaration
public StringMessageConverter(Encoding defaultCharset)
Parameters
Type |
Name |
Description |
Encoding |
defaultCharset |
|
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 override string ServiceName { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
|
Edit this page
View Source
ConvertFromInternal(IMessage, Type, Object)
Declaration
protected override object ConvertFromInternal(IMessage message, Type targetClass, object conversionHint)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Type |
targetClass |
|
System.Object |
conversionHint |
|
Returns
Type |
Description |
System.Object |
|
Overrides
|
Edit this page
View Source
Declaration
protected override object ConvertToInternal(object payload, IMessageHeaders headers, object conversionHint)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
IMessageHeaders |
headers |
|
System.Object |
conversionHint |
|
Returns
Type |
Description |
System.Object |
|
Overrides
|
Edit this page
View Source
Supports(Type)
Declaration
protected override bool Supports(Type clazz)
Parameters
Type |
Name |
Description |
Type |
clazz |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements
IServiceNameAware