title: ActiveMq connection with ClientId throwing error
body: <p>I have the following code:</p>
  
  <pre><code>_connectionFactory = new Apache.NMS.ActiveMQ.ConnectionFactory(_activeMqSettings.Connection.ServerUrl, "MyApplication");
  _connection = _connectionFactory.CreateConnection(_activeMqSettings.Connection.UserName, _activeMqSettings.Connection.Password);
  _connection.ConnectionInterruptedListener += _connection_ConnectionInterruptedListener;
  _connection.ConnectionResumedListener += _connection_ConnectionResumedListener;
  _session = _connection.CreateSession();
  </code></pre>
  
  <p>The first connection succeeds, but subsequent connections throw the error:</p>
  
  <blockquote>
    <p>Broker: localhost - Client: MyApplication already connected from
    tcp://0:0:0:0:0:0:0:1:39932</p>
  </blockquote>
  
  <p>this code works ok without the client id, but throws the error with. I was under the impression that giving the ClientId would reconnect to the broker without creating a new session (so the consumer count stays the same), but am I implementing it incorrectly?</p>
  
  <p>When I shut down the website and then restarted it, I can see that the connection resumes as the <code>_connection_ConnectionResumedListener()</code> fires. My listener however picks up no new messages.</p>
  
  <p>Is there anyway to get a handle on the session, and refresh the listener i.e. re-run:</p>
  
  <pre><code>lock (ConsumerLocker)
  {
     if (_consumer == null)
     {
          _consumer = _session.CreateConsumer(new ActiveMQTopic(_activeMqSettings.Queues.OpsConsole));
          _consumer.Listener += new MessageListener(messageReader);
     }
   }
  </code></pre>