Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachingConnectionFactory.GetSession Method

Obtaining a cached Session.

[Visual Basic]
Public Overrides Sub GetSession( _
   ByVal con As IConnection, _
   ByVal mode As SessionMode _
)
[C#]
public override ISession GetSession(
   IConnection con,
   SessionMode mode
);

Parameters

con
The connection to operate on.
mode
The session ack mode.

Return Value

The Session to use

See Also

CachingConnectionFactory Class | Spring.Messaging.Ems.Connections Namespace