code: private void autoStartConsumer() throws JMSException {
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "autoStartConsumer", new Object[] { autoStart, jmsConnection.getState() });
  
          try {
              //check if autoStart is true and connection is not started.
              //If its already started, it implies the first consumer has already started the connection
              if (autoStart && (jmsConnection.getState() == JmsInternalConstants.STOPPED)) {
                  // start the connection
                  jmsConnection.start();
              }
          } finally {
              if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                  SibTr.exit(this, tc, "autoStartConsumer");
          }
      }
docs: By default {@link autoStart} is true, i,e connection is started as soon as the first consumer is created.
  This behaviour can be changed by user by setting {@link autoStart} to false