Send a ShutdownInfo so that broker knows that we are doing a clean disconnect.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2006-03-05 09:11:39 +00:00
parent 41c4a49a52
commit 2949d2657a
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ namespace ActiveMQ
*/
DisposeOf(ConnectionId);
sessions.Clear();
transport.Oneway(new ShutdownInfo());
transport.Dispose();
closed = true;
}