/** * Get the client ID * * @return The value */ public String getClientID() { if (logger.isTraceEnabled()) { logger.trace("getClientID()"); } return raProperties.getClientID(); }
/** * Get the client ID * * @return The value */ public String getClientID() { if (logger.isTraceEnabled()) { logger.trace("getClientID()"); } return raProperties.getClientID(); }
/** * Constructor * * @param prop The resource adapter properties * @param type The connection type */ public ActiveMQRAConnectionRequestInfo(final ActiveMQRAProperties prop, final int type) { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("constructor(" + prop + ")"); } userName = prop.getUserName(); password = prop.getPassword(); clientID = prop.getClientID(); this.type = type; transacted = true; acknowledgeMode = Session.AUTO_ACKNOWLEDGE; }
/** * Constructor * * @param prop The resource adapter properties * @param type The connection type */ public ActiveMQRAConnectionRequestInfo(final ActiveMQRAProperties prop, final int type) { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("constructor(" + prop + ")"); } userName = prop.getUserName(); password = prop.getPassword(); clientID = prop.getClientID(); this.type = type; transacted = true; acknowledgeMode = Session.AUTO_ACKNOWLEDGE; }
/** * Fill in default values if they are missing * * @param prop The resource adapter properties */ public void setDefaults(final ActiveMQRAProperties prop) { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("setDefaults(" + prop + ")"); } if (userName == null) { userName = prop.getUserName(); } if (password == null) { password = prop.getPassword(); } if (clientID == null) { clientID = prop.getClientID(); } }
/** * Fill in default values if they are missing * * @param prop The resource adapter properties */ public void setDefaults(final ActiveMQRAProperties prop) { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("setDefaults(" + prop + ")"); } if (userName == null) { userName = prop.getUserName(); } if (password == null) { password = prop.getPassword(); } if (clientID == null) { clientID = prop.getClientID(); } }
/** * Get the client ID * * @return The client ID * @throws JMSException Thrown if an error occurs */ @Override public String getClientID() throws JMSException { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("getClientID()"); } checkClosed(); if (clientID == null) { return ((ActiveMQResourceAdapter) mcf.getResourceAdapter()).getProperties().getClientID(); } return clientID; }
/** * Get the client ID * * @return The client ID * @throws JMSException Thrown if an error occurs */ @Override public String getClientID() throws JMSException { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("getClientID()"); } checkClosed(); if (clientID == null) { return ((ActiveMQResourceAdapter) mcf.getResourceAdapter()).getProperties().getClientID(); } return clientID; }
cf.setRetryIntervalMultiplier(val4); String val5 = overrideProperties.getClientID() != null ? overrideProperties.getClientID() : raProperties.getClientID(); if (val5 != null) { cf.setClientID(val5);
cf.setRetryIntervalMultiplier(val4); String val5 = overrideProperties.getClientID() != null ? overrideProperties.getClientID() : raProperties.getClientID(); if (val5 != null) { cf.setClientID(val5);