Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMessageConverter Interface

Strategy interface that specifies a IMessageConverter between .NET objects and NMS 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 ITextMessages, IBytesMessages, IMapMessages, and IObjectMessages. Used as default by NmsTemplate, for
ConvertAndSend
and
ReceiveAndConvert
operations.

Converts a String to a NMS ITextMessage, a byte array to a NMS IBytesMessage, a Map to a NMS IMapMessage, and a Serializable object to a NMS IObjectMessage (or vice versa).

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

Requirements

Namespace: Spring.Messaging.Nms.Support.Converter

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

See Also

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