Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimpleMessageConverter.CreateMessageForString Method

Create a NMS ITextMessage for the given String.

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

Parameters

text
the String to convert
session
current NMS session

Return Value

the resulting message

See Also

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