Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsUtils.CloseMessageProducer Method

Close the given EMS MessageProducer and ignore any thrown exception. This is useful for typical

finally
blocks in manual EMS code.

[Visual Basic]
Public Shared Sub CloseMessageProducer( _
   ByVal producer As IMessageProducer _
)
[C#]
public static void CloseMessageProducer(
   IMessageProducer producer
);

Parameters

producer
the EMS MessageProducer to close (may be
null
)

See Also

EmsUtils Class | Spring.Messaging.Ems.Support Namespace