Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsGatewaySupport.CreateEmsTemplate Method

Creates a EmsTemplate for the given ConnectionFactory.

[Visual Basic]
Protected Overridable Sub CreateEmsTemplate( _
   ByVal connectionFactory As IConnectionFactory _
)
[C#]
protected virtual EmsTemplate CreateEmsTemplate(
   IConnectionFactory connectionFactory
);

Parameters

connectionFactory
The connection factory.

Return Value

Remarks

Only invoked if populating the gateway with a ConnectionFactory reference. Can be overridden in subclasses to provide a different EmsTemplate instance

See Also

EmsGatewaySupport Class | Spring.Messaging.Ems.Core Namespace