Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimpleMessageConverter.CreateMessageForSerializable Method

Create a EMS ObjectMessage for the given Serializable object.

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

Parameters

objectToSend
the Serializable object to convert
session
current EMS session

Return Value

the resulting message

See Also

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