Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractTransactionalMessageListenerContainer Class

An implementation of a Peeking based MessageListener container that starts a transaction before recieving a message. The IPlatformTransactionManager implementation determines the type of transaction that will be started. An exception while processing the message will result in a rollback, otherwise a transaction commit will be performed.

For a list of all members of this type, see AbstractTransactionalMessageListenerContainer Members .

System.Object
   AbstractListenerContainer
      AbstractMessageListenerContainer
         AbstractPeekingMessageListenerContainer
            AbstractTransactionalMessageListenerContainer
               DistributedTxMessageListenerContainer
               TransactionalMessageListenerContainer

[Visual Basic]
Public MustInherit Class AbstractTransactionalMessageListenerContainer
    Inherits AbstractPeekingMessageListenerContainer
[C#]
public abstract class AbstractTransactionalMessageListenerContainer : AbstractPeekingMessageListenerContainer

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The type of transaction that can be started can either be local transaction, (e.g. AdoPlatformTransactionManager, a local messaging transaction (e.g. MessageQueueTransactionManager or a DTC based transaction, (eg. TxScopeTransactionManager.

Transaction properties can be set using the property TransactionDefinition and the transaction timeout via the property TransactionTimeout.

Requirements

Namespace: Spring.Messaging.Listener

Assembly: Spring.Messaging (in Spring.Messaging.dll)

See Also

AbstractTransactionalMessageListenerContainer Members | Spring.Messaging.Listener Namespace