Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SendToQueueExceptionHandler.MessageAlreadyProcessedExceptionNames Property

Gets or sets the exception anmes that indicate the message has already been processed. If the exception thrown matches one of these names then the returned TransactionAction is Commit to remove it from the queue.

[Visual Basic]
Public Property MessageAlreadyProcessedExceptionNames() As String
   Public Get
   End Get
   Public Set
   End Set
End Property
public string[] MessageAlreadyProcessedExceptionNames { public get; public set; }

Property Value

The message already processed exception types.


The name test is thrownException.GetType().Name.IndexOf(exceptionName) >= 0

See Also

SendToQueueExceptionHandler Class | Spring.Messaging.Listener Namespace