try {
//send the Connection info again
sendConnectionInfoToBroker(sendConnectionInfoTimeout, true, false);
for (Iterator iter = sessions.iterator(); iter.hasNext();) {
ActiveMQSession session = (ActiveMQSession) iter.next();
SessionInfo sessionInfo = createSessionInfo(session);
sessionInfo.setStarted(true);
asyncSendPacket(sessionInfo, false);
//send consumers
for (Iterator consumersIterator = session.consumers.iterator(); consumersIterator.hasNext();) {
ActiveMQMessageConsumer consumer = (ActiveMQMessageConsumer) consumersIterator.next();
ConsumerInfo consumerInfo = session.createConsumerInfo(consumer);