commit | f329615b24affe538afcde0eee005ce4fa3b3ae8 | [log] [tgz] |
---|---|---|
author | Jim Gomes <jgomes@apache.org> | Sat Jun 18 00:03:46 2011 +0000 |
committer | Jim Gomes <jgomes@apache.org> | Sat Jun 18 00:03:46 2011 +0000 |
tree | b9fe889e6e61699728f857df3c8f6450be7b2ac1 | |
parent | 998db3e2e7aceb716c2a5f3a41fcbcb05b5b6a70 [diff] |
Refactor the CheckConnected function to handle multiple threads attempting to check connection status against an offline broker. Guard against unwanted exceptions being thrown when indexing into a connection state array that has not been fully set up because the broker is offline. Fixes [AMQNET-331]. (See https://issues.apache.org/jira/browse/AMQNET-331)