Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsTemplate.Execute 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.

Overload List

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.

public object Execute(IProducerCallback)

Execute the action specified by the given action object within a EMS Session. Note: The value of PubSubDomain affects the behavior of this method. If PubSubDomain equals true, then a Session is passed to the callback. If false, then a Session is passed to the callback.

public object Execute(ISessionCallback)

Execute the action specified by the given action object within a EMS Session.

public virtual object Execute(ISessionCallback,bool)

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.

public object Execute(ProducerDelegate)

Execute the action specified by the given action object within a EMS Session.

public object Execute(SessionDelegate)

Execute the action specified by the given action object within a EMS Session.

public virtual object Execute(SessionDelegate,bool)

See Also

EmsTemplate Class | Spring.Messaging.Ems.Core Namespace