Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsGatewaySupport.CreateNmsTemplate Method

Creates a NmsTemplate for the given ConnectionFactory.

[Visual Basic]
Protected Overridable Sub CreateNmsTemplate( _
   ByVal connectionFactory As IConnectionFactory _
)
[C#]
protected virtual NmsTemplate CreateNmsTemplate(
   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 NmsTemplate instance

See Also

NmsGatewaySupport Class | Spring.Messaging.Nms.Core Namespace