title: how to add several activemq NetworkConnectors in spring boot with java config, not configued with XML file
body: <p>usually, we add NetworkConnectors configuration in activemq.xml before we start the activemq service as below:</p>
  
  <pre><code>&lt;networkConnectors&gt;
        &lt;networkConnector uri="static:(tcp://localhost:62001)"/&gt;
   &lt;/networkConnectors&gt;
  </code></pre>
  
  <p>but this time, i just used spring boot with activemq embeded. and i want to configure more networkConnectors danymiclly when the mq running. so i could not choose to add these in activemq.xml. but need to configure with java code in spring boot. i don't know how to implement this.</p>