Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.Execute Method

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

Overload List

Send a message to a NMS destination. The callback gives access to the NMS 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 NMS 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 NMS Session.

public virtual object Execute(ISessionCallback,bool)

Send a message to a NMS destination. The callback gives access to the NMS 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 NMS Session.

public object Execute(SessionDelegate)

See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace