public void closeConsumerAndSession(){
		if (consumer != null) {
			try {
				consumer.setMessageListener(null);
				consumer.close();
				consumer = null;
			} catch (JMSException e) {
				LOG.error("关闭consumer失败",e);
			}finally{
				consumer = null;
			}
		}
		if (session != null) {
			try {
				session.close();
				session = null;
			} catch (JMSException e) {
				LOG.error("关闭session失败",e);
			}finally{
				session = null;
			}
		}
	}