Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEmsOperations.Execute(ProducerDelegate) Method

Send a message to a EMS destination. The callback gives access to the EMS session and MessageProducer in order to do more complex send operations.

[Visual Basic]
Public Sub Execute( _
   ByVal del As ProducerDelegate _
)
[C#]
object Execute(
   ProducerDelegate del
);

Parameters

del
delegate that exposes the session/producer pair

Return Value

the result object from working with the session

Exceptions

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

See Also

IEmsOperations Interface | Spring.Messaging.Ems.Core Namespace | IEmsOperations.Execute Overload List