docs: protected MessageEndpoint createEndpoint() throws ResourceException
      {
          final String methodName = "createEndpoint";
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled())
          {
              SibTr.entry(this, TRACE, methodName);
          }
  
  
              // Ensure that in non-WAS environments the activation spec used to create
              // the current connection specified a specific messaging engine. This is
              // required so that we always connect to the same messaging engine when
              // using the same activation specification to permit transaction recovery.
  
          	//chetan liberty change :
          	//getTarget() check is removed since in liberty we have 1 ME per liberty profile
              if ((_endpointConfiguration.getTargetSignificance().equals(SibTrmConstants.TARGET_SIGNIFICANCE_REQUIRED)) &&
                  (_endpointConfiguration.getTargetType().equals(SibTrmConstants.TARGET_TYPE_ME))) {
                  _sibXaResource = new SibRaXaResource (getXaResource());
              } else {
                String p0;          // Connection property name
                String p1;          // Required connection property value
  
                if (!_endpointConfiguration.getTargetSignificance().equals(SibTrmConstants.TARGET_SIGNIFICANCE_REQUIRED)) {
                  p0 = SibTrmConstants.TARGET_SIGNIFICANCE;
                  p1 = SibTrmConstants.TARGET_SIGNIFICANCE_REQUIRED;
                } else if (!_endpointConfiguration.getTargetType().equals(SibTrmConstants.TARGET_TYPE_ME)) {
                  p0 = SibTrmConstants.TARGET_TYPE;
                  p1 = SibTrmConstants.TARGET_TYPE_ME;
                } else {
                  p0 = SibTrmConstants.TARGET_GROUP;
                  p1 = "!null";
                }
  
                SibTr.error(TRACE, "ME_NAME_REQUIRED_CWSIV0652",new Object[] {p0,p1});
                throw new NotSupportedException(NLS.getFormattedMessage("ME_NAME_REQUIRED_CWSIV0652", new Object[] {p0,p1}, null));
              }
          
  
          final MessageEndpoint endpoint = _endpointFactory
                  .createEndpoint(_sibXaResource);
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled())
          {
              SibTr.exit(this, TRACE, methodName, endpoint);
          }
          return endpoint;
      }