Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsTemplate.DoSend(ISession, Destination, IMessageCreator, MessageCreatorDelegate) Method

Send the given EMS message.

[Visual Basic]
Protected Overridable Overloads Sub DoSend( _
   ByVal session As ISession, _
   ByVal destination As Destination, _
   ByVal messageCreator As IMessageCreator, _
   ByVal messageCreatorDelegate As MessageCreatorDelegate _
)
[C#]
protected virtual void DoSend(
   ISession session,
   Destination destination,
   IMessageCreator messageCreator,
   MessageCreatorDelegate messageCreatorDelegate
);

Parameters

session
the EMS Session to operate on
destination
the EMS Destination to send to
messageCreator
callback to create a EMS Message
messageCreatorDelegate
delegate callback to create a EMS Message

Exceptions

Exception Type Condition
EMSException If there is any problem accessing the EMS API

See Also

EmsTemplate Class | Spring.Messaging.Ems.Core Namespace | EmsTemplate.DoSend Overload List