/** * Close * * @throws JMSException Thrown if an error occurs */ @Override public void close() throws JMSException { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("close " + this); } try { closeConsumer(); } finally { session.removeConsumer(this); } }
/** * Close * * @throws JMSException Thrown if an error occurs */ @Override public void close() throws JMSException { if (ActiveMQRALogger.LOGGER.isTraceEnabled()) { ActiveMQRALogger.LOGGER.trace("close " + this); } try { closeConsumer(); } finally { session.removeConsumer(this); } }