title: ActiveMQCPP connection.start() hangs up
body: <p>I'm using ActiveMQ CPP 5.2.3 if it matters.</p>
  
  <p>I have JMS producer that connects using <em>failover</em> transport to JMS network of brokers.
  When I call connection->start() it hangs up (see <a href="https://issues.apache.org/jira/browse/AMQ-2114" rel="nofollow noreferrer">AMQ-2114</a>).</p>
  
  <p>If I skip connection <em>start()</em> and call connection->createSession(), than this call is blocked too.</p>
  
  <p>The requirement is that my application will try forever to connect to broker(s). </p>
  
  <p>Any suggestions/workarounds?</p>
  
  <p><strong>NOTE</strong>: </p>
  
  <p>This is not duplicate of <a href="https://stackoverflow.com/questions/4303075/activemq-starting-consumer-without-broker">here</a>, since I'm talking about C++ and such solutions as embedded broker, spring are not available in C++.</p>