Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimpleMessageConverter.CreateMessageForSerializable Method

Create a NMS IObjectMessage for the given Serializable object.

[Visual Basic]
Protected Overridable Sub CreateMessageForSerializable( _
   ByVal objectToSend As Object, _
   ByVal session As ISession _
)
[C#]
protected virtual IObjectMessage CreateMessageForSerializable(
   object objectToSend,
   ISession session
);

Parameters

objectToSend
the Serializable object to convert
session
current NMS session

Return Value

the resulting message

See Also

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