code: @Override
      public void setScopeToLocalQP(String scopeToLocalQP) throws JMSException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "setScopeToLocalQP", scopeToLocalQP);
  
          // Clear the cached destinationAddresses, as a change to this value would make them out-of-date
          clearCachedProducerDestinationAddress();
          clearCachedConsumerDestinationAddress();
  
          // Make sure null and empty are treated equally.
          if ((scopeToLocalQP == null) || ("".equals(scopeToLocalQP.trim())))
              scopeToLocalQP = null;
  
          if ((scopeToLocalQP == null) ||
              (ApiJmsConstants.SCOPE_TO_LOCAL_QP_OFF.equals(scopeToLocalQP) ||
              (ApiJmsConstants.SCOPE_TO_LOCAL_QP_ON.equals(scopeToLocalQP)))) {
  
              updateProperty(SCOPE_TO_LOCAL_QP, scopeToLocalQP);
          }
          else {
              // bad value, throw exception
              String key = "INVALID_VALUE_CWSIA0281";
              Object[] inserts = new Object[] { SCOPE_TO_LOCAL_QP, scopeToLocalQP };
              throw (JMSException) JmsErrorUtils.newThrowable(JMSException.class, key, inserts, tc);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "setScopeToLocalQP");
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.websphere.sib.api.jms.JmsQueue#setScopeToLocalQP(java.lang.String)