Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimpleMessageConverter.CreateMessageForString Method

Create a EMS TextMessage for the given String.

[Visual Basic]
Protected Overridable Sub CreateMessageForString( _
   ByVal text As String, _
   ByVal session As ISession _
)
[C#]
protected virtual TextMessage CreateMessageForString(
   string text,
   ISession session
);

Parameters

text
the String to convert
session
current EMS session

Return Value

the resulting message

See Also

SimpleMessageConverter Class | Spring.Messaging.Ems.Support.Converter Namespace