CachedSession Members
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachedSession Members

CachedSession overview

Public Instance Constructors

CachedSession Constructor Initializes a new instance of the CachedSession class.

Public Instance Properties

AcknowledgementMode Gets the acknowledgement mode.
RequestTimeout Gets or sets the request timeout.
TargetSession Gets the target, for testing purposes.
Transacted Gets a value indicating whether this CachedSession is transacted.

Public Instance Methods

Close If have not yet reached session cache size, cache the session, otherwise dispose of all cached message producers and close the session.
Commit Commits this instance.
CreateBytesMessageOverloaded. Creates the bytes message.
CreateConsumerOverloaded. Creates the consumer, potentially returning a cached instance.
CreateDurableConsumerOverloaded. Creates the durable consumer, potentially returning a cached instance.
CreateMapMessage Creates the map message.
CreateMessage Creates the message.
CreateObjectMessage Creates the object message.
CreateProducerOverloaded. Creates the producer, potentially returning a cached instance.
CreateTemporaryQueue Creates the temporary queue.
CreateTemporaryTopic Creates the temporary topic.
CreateTextMessageOverloaded. Creates the text message.
DeleteDestination Deletes the destination.
DeleteDurableConsumerOverloaded. Deletes the durable consumer.
Dispose Call dispose on the target.
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.
GetQueue Gets the queue.
GetTopic Gets the topic.
GetType (inherited from Object)Gets the Type of the current instance.
Rollback Rollbacks this instance.
ToString Returns a String that represents the current Object.

Protected Instance Methods

CreateConsumerOverloaded. Creates the consumer.
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

CachedSession Class | Spring.Messaging.Nms.Connections Namespace