Interface IMessageConverterFactory
An implementation provides a factory for obtaining message converters
Namespace: Steeltoe.Messaging.Converter
Assembly: Steeltoe.Messaging.Abstractions.dll
Syntax
public interface IMessageConverterFactory
Properties
| Edit this page View SourceAllRegistered
Gets all the message converters provided by this factory
Declaration
IList<IMessageConverter> AllRegistered { get; }
Property Value
Type | Description |
---|---|
IList<IMessageConverter> |
MessageConverterForAllRegistered
Gets a single composite message converter for all registered converters
Declaration
ISmartMessageConverter MessageConverterForAllRegistered { get; }
Property Value
Type | Description |
---|---|
ISmartMessageConverter |
Methods
| Edit this page View SourceGetMessageConverterForType(MimeType)
Obtain a message converter for the given MimeType
Declaration
IMessageConverter GetMessageConverterForType(MimeType mimeType)
Parameters
Type | Name | Description |
---|---|---|
MimeType | mimeType | the MimeType to obtain a converter for |
Returns
Type | Description |
---|---|
IMessageConverter | a message converter or null if no converter exists |