Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMessageConverter Interface

Strategy interface that specifies a IMessageConverter between .NET objects and EMS messages.

For a list of all members of this type, see IMessageConverter Members .

[Visual Basic]
Public Interface IMessageConverter
[C#]
public interface IMessageConverter

Types that implement IMessageConverter

Type Description
SimpleMessageConverter A simple message converter that can handle TextMessages, BytesMessages, MapMessages, and ObjectMessages. Used as default by EmsTemplate, for
ConvertAndSend
and
ReceiveAndConvert
operations.

Converts a String to a EMS TextMessage, a byte array to a EMS BytesMessage, a Map to a EMS MapMessage, and a Serializable object to a EMS ObjectMessage (or vice versa).

XmlMessageConverter Convert an object via XML serialization for sending via an ITextMessage

Requirements

Namespace: Spring.Messaging.Ems.Support.Converter

Assembly: Spring.Messaging.Ems (in Spring.Messaging.Ems.dll)

See Also

IMessageConverter Members | Spring.Messaging.Ems.Support.Converter Namespace