Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.MessageConverter Property

Gets or sets the message converter for this template.

[Visual Basic]
Public Overridable Property MessageConverter() As IMessageConverter
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public virtual IMessageConverter MessageConverter { public get; public set; }

Property Value

The message converter.

Remarks

Used to resolve Object parameters to convertAndSend methods and Object results from receiveAndConvert methods.

The default converter is a SimpleMessageConverter, which is able to handle IBytesMessages, ITextMessages and IObjectMessages.

See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace