Spring.Messaging.Amqp.Rabbit
RollbackOnExceptionIfNecessary Method
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Listener Namespace > AbstractMessageListenerContainer Class : RollbackOnExceptionIfNecessary Method
channel
The channel to rollback.
ex
The thrown application exception.
Perform a rollback, handling rollback excepitons properly.

Syntax

C# 
protected virtual void RollbackOnExceptionIfNecessary( 
   IModel channel,
   Exception ex
)

Parameters

channel
The channel to rollback.
ex
The thrown application exception.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.