docs: protected Connection createConnection() throws JMSException {
          if (connectionFactory instanceof QueueConnectionFactory) {
              return ((QueueConnectionFactory) connectionFactory).createQueueConnection();
          }
          return connectionFactory.createConnection();
      }