Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageQueueTemplate Members

MessageQueueTemplate overview

Public Static (Shared) Fields

METADATA_CACHE_NAMEMissing <summary> documentation for F:Spring.Messaging.Core.MessageQueueTemplate.METADATA_CACHE_NAME

Public Instance Constructors

MessageQueueTemplate Overloaded. Initializes a new instance of the MessageQueueTemplate class.

Public Instance Properties

ApplicationContext Gets or sets the IApplicationContext that this object runs in.
DefaultMessageQueue Gets the default message queue to be used on send/receive operations that do not have a destination parameter. The MessageQueue instance is resolved using the template's IMessageQueueFactory, the default implementaion DefaultMessageQueueFactory will return an unique instance per thread.
DefaultMessageQueueObjectName Gets or sets the name of the default message queue as identified in the Spring container.
MessageConverter Gets the message converter to use for this template. Used to resolve object parameters to ConvertAndSend methods and object results from ReceiveAndConvert methods.
MessageConverterObjectName Gets or sets the name of the message converter object. The name will be passed to the IMessageQueueFactory class to resolve it to an actual MessageQueue instance.
MessageQueueFactory Gets or sets the message queue factory to use for creating MessageQueue and IMessageConverters. Default value is one that support thread local instances.
MetadataCache Gets or sets the metadata cache.
ReceiveTimeout Gets or sets the receive timeout to be used on recieve operations. Default value is MessageQueue.InfiniteTimeout (which is actually ~3 months).

Public Instance Methods

AfterPropertiesSet Invoked by an IObjectFactory after it has injected all of an object's dependencies.
ConvertAndSendOverloaded. Send the given object to the default destination, converting the object to a MSMQ message with a configured IMessageConverter.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ReceiveOverloaded. Receives a message on the default message queue using the transactional settings as dicted by MessageQueue's Transactional property and the current Spring managed ambient transaction.
ReceiveAndConvertOverloaded. Receive and convert a message synchronously from the default message queue.
SendOverloaded. Sends the specified message to the default message queue using the transactional settings as dicted by MessageQueue's Transactional property and the current Spring managed ambient transaction.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

applicationContextMissing <summary> documentation for F:Spring.Messaging.Core.MessageQueueTemplate.applicationContext

Protected Instance Methods

CheckDefaultMessageQueue Checks if the default message queue if defined.
CreateDefaultMetadataCacheMissing <summary> documentation for M:Spring.Messaging.Core.MessageQueueTemplate.CreateDefaultMetadataCache
DoConvertMessage Template method to convert the message if it is not null.
DoSend Sends the message to the given message queue.
DoSendMessageQueue Send the message queue selecting the appropriate transactional delivery options.
DoSendMessageQueueNonTransactional Does the send message queue non transactional.
DoSendMessageTransaction Does the send message transaction.
DoSendTxScope Sends using MessageQueueTransactionType.Automatic transaction type
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

MessageQueueTemplate Class | Spring.Messaging.Core Namespace