code: public void start(){
  
          try {
              jmsServer.setConfiguration(config);
              jmsServer.setJmsConfiguration(jmsConfig);
  
              jmsServer.start();
  
              ConnectionFactory connectionFactory = (ConnectionFactory) jmsServer.lookup("/cf");
              if(connectionFactory == null){
                  throw new AsyncException("Failed to start EmbeddedJMS server due to previous errors.");
              }
  
              consumerConnection = connectionFactory.createConnection();
              receiverSessionPool = new SessionPool("Consumer", consumerConnection);
  
              producerConnection = connectionFactory.createConnection();
              senderSessionPool = new SessionPool("Producer", producerConnection);
              configureListeners(injector, queueConfigsList);
              started = true;
          } catch (Exception e) {
              throw new AsyncException(e);
          }
      }
docs: Starts the server.