_logger.info("Exchanges");
moveContents(_oldMessageStore.getExchangesDb(), _newMessageStore.getExchangesDb(), "Exchange");
final List<AMQShortString> topicExchanges = new ArrayList<AMQShortString>();
final TupleBinding exchangeTB = new ExchangeTB();
DatabaseVisitor exchangeListVisitor = new DatabaseVisitor()
{
public void visit(DatabaseEntry key, DatabaseEntry value) throws DatabaseException
{
ExchangeRecord exchangeRec = (ExchangeRecord) exchangeTB.entryToObject(value);
AMQShortString type = exchangeRec.getType();
if (ExchangeDefaults.TOPIC_EXCHANGE_CLASS.equals(type))
{
topicExchanges.add(exchangeRec.getNameShortString());