title: RabbitMQ Java client auto reconnect
body: <p>When my application looses connection to RabbitMQ I have its connection factory set to automatically try and reconnect</p>
  
  <pre><code>ConnectionFactory factory = new ConnectionFactory();
      factory.setUsername(username);
      factory.setPassword(password);
      factory.setRequestedHeartbeat(1);
      factory.setConnectionTimeout(5000);
      factory.setAutomaticRecoveryEnabled(true);
      factory.setTopologyRecoveryEnabled(true);
  </code></pre>
  
  <p>When it is trying to reconnect it blocks but it never stops blocking once it gets connected again and I am not to sure why.</p>
  
  <p>I am using the latest version of the java client 3.3.4</p>
  
  <p>This also seems to happen when I force disconnect the client connection via the rabbitmq management interface.</p>
  
  <p>Some further research it seems like its hanging while it is trying to get a channel but the web interface says there is a channel connected.</p>