MessageConsumer.Close


Method

Declaration

void Close(); 

Purpose

Stop receiving messages; reclaim resources.

Remarks

If a receive call or a message listener is in progress, then Close waits until that call returns.

Message consumers rely on resources outside the client program. To reclaim these resources in a timely manner, we recommend that client programs explicitly close message consumer objects (rather than waiting for garbage collection).

See Also

MessageConsumer.Receive

IMessageListener

Session.CreateConsumer


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com