Method
Stop delivering inbound messages.
This call temporarily stops the connection from delivering inbound messages. A program can restart delivery by calling Connection.Start
.
When a connection is created, it is stopped. It does not deliver inbound messages until the program calls this method to explicitly start it.
If the connection is already stopped, this call has no effect.
When this call returns, the connection has stopped delivery to all consumers associated with the connection:
If any message listener or receive call associated with the connection is processing a message when the program calls this method, all facilities of the connection and its sessions remain available to those listeners until they return. In the meantime, this method blocks until that processing completesthat is, until all message listeners and receive calls have returned.
However, the stopped connection prevents the client program from processing any new messages.
A stopped connection can still send outbound messages.
TIBCO Enterprise Message Service™ .NET Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |