Source:
<code>public static void createQueue(String queueName, String owner) throws RegistryClientException { if(log.isDebugEnabled()){ log.debug("Queue name going to put to the registry is: " + queueName); <START> } <END> if (!NameValidationUtils.isValidQueueName(queueName)) { throw new RegistryClientException("Queue name/subscription ID: " + queueName + " cannot contain any of following symbols ~!@#;%^*()+={}|<>\"', and space. " + "\" / \" can only use as the tenant separator\n"); } try { RegistryService registryService = CommonsDataHolder.getInstance().getRegistryService(); UserRegistry registry = registryService.getGovernanceSystemRegistry( PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId() <= 0 ? MultitenantConstants.SUPER_TENANT_ID : PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId() ); Collection queue; String queueID = CommonsUtil.getQueueID(queueName); if (!registry.resourceExists(queueID)) { queue = registry.newCollection(); queue.setProperty(OWNER, owner); queue.setProperty(NAME, queueName); queue.setProperty(CREATED_TIME, ConverterUtil.convertToString( Calendar.getInstance())); queue.setProperty(UPDATED_TIME, ConverterUtil.convertToString( Calendar.getInstance())); queue.setProperty(CREATED_FROM, CREATED_FROM_AMQP); queue.setProperty(USER_COUNT, "1"); } else { queue = (Collection) registry.get(queueID); queue.setProperty(UPDATED_TIME, ConverterUtil.convertToString( Calendar.getInstance())); String userCount = queue.getProperty(USER_COUNT); if (null != userCount) { int count = Integer.parseInt(userCount); queue.setProperty(USER_COUNT, Integer.toString(++count)); } } registry.put(queueID, queue); } catch (RegistryException e) { throw new RegistryClientException(e); } }</code><technical_language>change this below? java log.debug("Saving queue name \"" + queueName + "\" in Registry");</technical_language>

Target:
public static void createQueue(String queueName, String owner) throws RegistryClientException { if (log.isDebugEnabled()) { log.debug("Saving queue name \"" + queueName + "\" in Registry"); } try { RegistryService registryService = CommonsDataHolder.getInstance().getRegistryService(); UserRegistry registry = registryService.getGovernanceSystemRegistry( PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId() <= 0 ? MultitenantConstants.SUPER_TENANT_ID : PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId() ); Collection queue; String queueID = CommonsUtil.getQueueID(queueName); if (!registry.resourceExists(queueID)) { queue = registry.newCollection(); queue.setProperty(OWNER, owner); queue.setProperty(NAME, queueName); queue.setProperty(CREATED_TIME, ConverterUtil.convertToString( Calendar.getInstance())); queue.setProperty(UPDATED_TIME, ConverterUtil.convertToString( Calendar.getInstance())); queue.setProperty(CREATED_FROM, CREATED_FROM_AMQP); queue.setProperty(USER_COUNT, "1"); } else { queue = (Collection) registry.get(queueID); queue.setProperty(UPDATED_TIME, ConverterUtil.convertToString( Calendar.getInstance())); String userCount = queue.getProperty(USER_COUNT); if (null != userCount) { int count = Integer.parseInt(userCount); queue.setProperty(USER_COUNT, Integer.toString(++count)); } } registry.put(queueID, queue); } catch (RegistryException e) { throw new RegistryClientException(e); } }