Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Spring.Messaging.Listener Namespace

Missing <summary> Documentation for Spring.Messaging.Listener

Namespace Hierarchy

Classes

Class Description
AbstractListenerContainer Provides basic lifecyle management methods for implementing a message listener container.
AbstractMessageListenerContainer Defines a minimal programming model for message listener containers. They are expected to invoke a IMessageListener upon asynchronous receives of a MSMQ message. Access to obtain MessageQueue and IMessageConverter instances is available through the IMessageQueueFactory property, the default implementation DefaultMessageQueueFactory provides per-thread instances of these classes.
AbstractPeekingMessageListenerContainer Base class for listener container implementations which are based on Peeking for messages on a MessageQueue. Peeking is the only resource efficient approach that can be used in order to have MessageQueue receipt in conjunction with transactions, either local MSMQ transactions, local ADO.NET based transactions, or DTC transactions. See SimpleMessageListenerContainer for an implementation based on a synchronous receives and you do not require transactional support.
AbstractSendToQueueExceptionHandler Provides common functionality to exception handlers that will send the exceptional message to another queue.
AbstractTransactionalMessageListenerContainer 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.
DistributedTxMessageListenerContainer A MessageListenerContainer that uses distributed (DTC) based transactions. Exceptions are handled by instances of IDistributedTransactionExceptionHandler.
MessageListenerAdapter Message listener adapter that delegates the handling of messages to target listener methods via reflection DynamicReflectionManager, with flexible message type conversion. Allows listener methods to operate on message content types, completely independent from the MSMQ API.
NonTransactionalMessageListenerContainer An implementation of a Peeking based MessageListener container that does not surround the receive operation with a transaction.
SendToQueueDistributedTransactionExceptionHandler detects poison messages by tracking the Message Id property in memory with a count of how many times an exception has occurred. If that count is greater than the handler's MaxRetry count it will be sent to another queue. The queue to send the message to is specified via the property M essageQueueObjectName.
SendToQueueExceptionHandler Keeps track of the Message's Id property in memory with a count of how many times an exception has occurred. If that count is greater than the handler's MaxRetry count it will be sent to another queue using the provided MessageQueueTransaction. The queue to send the message to is specified via the property MessageQueueObjectName.
TransactionalMessageListenerContainer A MessageListenerContainer that uses local (non-DTC) based transactions. Exceptions are handled by instances of IMessageTransactionExceptionHandler.

Interfaces

Interface Description
IDistributedTransactionExceptionHandler Exception handler for use with DTC based message listener container. such as DistributedTxMessageListenerContainer. See SendToQueueDistributedTransactionExceptionHandler for an implementation that detects poison messages and send them to another queue.
IExceptionHandler Exception handler called when an exception occurs during non-transactional receive processing.
IMessageListener The callback invoked when a message is received.
IMessageTransactionExceptionHandler The exception handler within a transactional context.

Enumerations

Enumeration Description
TransactionAction Action to perform on the MessageQueueTransaction when handling message listener exceptions.