Boolean rAll = (Boolean)props.get("JMQRedeliverAll");
boolean redeliverAll = (rAll == null ? false : rAll.booleanValue());
if (!sessionPaused && session != null) {
sessionPaused = true;
session.pause("Consumer removeconsumer");
}
destroyConsumer(con, session, uid, durableName, clientID, lastid,
redeliverAll, isIndemp);
}