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 .


[Visual Basic]
Public MustInherit Class AbstractTransactionalMessageListenerContainer
    Inherits AbstractPeekingMessageListenerContainer
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.


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.


Namespace: Spring.Messaging.Listener

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

See Also

AbstractTransactionalMessageListenerContainer Members | Spring.Messaging.Listener Namespace