610611612613614615616617618619620
} } broker.addConsumer(cs.getContext(), info); try { ss.addConsumer(info); addConsumerBrokerExchange(info.getConsumerId()); } catch (IllegalStateException e) { broker.removeConsumer(cs.getContext(), info); }
559560561562563564565566567568569
565566567568569570571572573574575
// Avoid replaying dup commands if( !ss.getConsumerIds().contains(info.getConsumerId()) ) { broker.addConsumer(cs.getContext(), info); try { ss.addConsumer(info); } catch (IllegalStateException e) { broker.removeConsumer(cs.getContext(), info); } }
660661662663664665666667668669670
525526527528529530531532533534535
} // Avoid replaying dup commands if (!ss.getConsumerIds().contains(info.getConsumerId())) { broker.addConsumer(cs.getContext(), info); try { ss.addConsumer(info); } catch (IllegalStateException e) { broker.removeConsumer(cs.getContext(), info); } } return null;
615616617618619620621622623624625
530531532533534535536537538539540