Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsUtils.CloseMessageConsumer Method

Close the given NMS MessageConsumer and ignore any thrown exception. This is useful for typical

finally
blocks in manual NMS code.

[Visual Basic]
Public Shared Sub CloseMessageConsumer( _
   ByVal consumer As IMessageConsumer _
)
[C#]
public static void CloseMessageConsumer(
   IMessageConsumer consumer
);

Parameters

consumer
the NMS MessageConsumer to close (may be
null
)

See Also

NmsUtils Class | Spring.Messaging.Nms.Support Namespace