Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.DoCreateProducer Method

Create a raw NMS MessageProducer for the given Session and Destination.

[Visual Basic]
Protected Overridable Sub DoCreateProducer( _
   ByVal session As ISession, _
   ByVal destination As IDestination _
)
[C#]
protected virtual IMessageProducer DoCreateProducer(
   ISession session,
   IDestination destination
);

Parameters

session
the NMS Session to create a MessageProducer for
destination
the NMS IDestination to create a MessageProducer for

Return Value

the new NMS MessageProducer

See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace