docs: protected final SibRaMessagingEngineConnection getConnection(
              final JsMessagingEngine messagingEngine) throws ResourceException {
  
          final String methodName = "getConnection";
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, methodName, messagingEngine);
          }
  
          SibRaMessagingEngineConnection connection;
  
          if (_active) {
  
              synchronized (_connections) {
  
                  /*
                   * Do we already have a connection?
                   */
  
                  connection = (SibRaMessagingEngineConnection) _connections
                          .get(messagingEngine.getUuid().toString());
  
                  /*
                   * If not, create a new one and add it to the map
                   */
  
                  if (connection == null) {
  
                      connection = new SibRaMessagingEngineConnection(this,
                              messagingEngine);
                      _connections.put(messagingEngine.getUuid().toString(),
                              connection);
  
                  }
  
              }
  
          } else {
  
              throw new IllegalStateException(NLS.getFormattedMessage(
                      "ENDPOINT_DEACTIVATED_CWSIV0554", new Object[] {
                              messagingEngine.getUuid(),
                              messagingEngine.getBusName(), this }, null));
  
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, methodName, connection);
          }
          return connection;
  
      }