/** * Set the managed connection * * @param managedConnection The managed connection */ void setManagedConnection(final ActiveMQRAManagedConnection managedConnection) { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("setManagedConnection(" + managedConnection + ")"); } if (mc != null) { mc.removeHandle(this); } mc = managedConnection; }
/** * Set the managed connection * * @param managedConnection The managed connection */ void setManagedConnection(final ActiveMQRAManagedConnection managedConnection) { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("setManagedConnection(" + managedConnection + ")"); } if (mc != null) { mc.removeHandle(this); } mc = managedConnection; }
mc.removeHandle(this); ConnectionEvent ev = new ConnectionEvent(mc, ConnectionEvent.CONNECTION_CLOSED); ev.setConnectionHandle(this);
mc.removeHandle(this); ConnectionEvent ev = new ConnectionEvent(mc, ConnectionEvent.CONNECTION_CLOSED); ev.setConnectionHandle(this);