Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageListenerContainer.CommitIfNecessary Method

Perform a commit or message acknowledgement, as appropriate

[Visual Basic]
Protected Overridable Sub CommitIfNecessary( _
   ByVal session As ISession, _
   ByVal message As IMessage _
)
[C#]
protected virtual void CommitIfNecessary(
   ISession session,
   IMessage message
);

Parameters

session
The session to commit.
message
The message to acknowledge.

Exceptions

Exception Type Condition
NMSException In case of commit failure

See Also

AbstractMessageListenerContainer Class | Spring.Messaging.Nms.Listener Namespace