Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachedSession.CreateProducer(IDestination, TimeSpan) Method

Creates the producer given the destinaton and requst timeout, potentially returning a cached instance.

[Visual Basic]
Public Overloads Sub CreateProducer( _
   ByVal destination As IDestination, _
   ByVal requestTimeout As TimeSpan _
)
[C#]
public IMessageProducer CreateProducer(
   IDestination destination,
   TimeSpan requestTimeout
);

Parameters

destination
The destination.
requestTimeout
The request timeout.

Return Value

The message producer

See Also

CachedSession Class | Spring.Messaging.Nms.Connections Namespace | CachedSession.CreateProducer Overload List