code: @Override
      public void setTargetType(String newTargetType) throws JMSException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "setTargetType", newTargetType);
  
          // Check for null and empty string, and set to default value if found
          if ((newTargetType == null) || ("".equals(newTargetType))) {
              jcaManagedConnectionFactory.setTargetType(ApiJmsConstants.TARGET_TYPE_BUSMEMBER);
          }
          // Ensure that the value is one of the permitted constants - thrown an exception if not
          else if ((ApiJmsConstants.TARGET_TYPE_BUSMEMBER.equals(newTargetType))
                   || (ApiJmsConstants.TARGET_TYPE_CUSTOM.equals(newTargetType))
                   || (ApiJmsConstants.TARGET_TYPE_ME.equals(newTargetType))) {
              jcaManagedConnectionFactory.setTargetType(newTargetType);
          }
          else {
              throw (JMSException) JmsErrorUtils.newThrowable(
                                                              JMSException.class,
                                                              "INVALID_VALUE_CWSIA0261",
                                                              new Object[] { "remoteTargetType", newTargetType },
                                                              tc
                              );
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "setTargetType");
      }
docs: Set the target type
  181802.2
  
  @param newTargetType The target type to use
  @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#setTargetType(java.lang.String)