Package org.apache.qpid.server.store.berkeleydb

Examples of org.apache.qpid.server.store.berkeleydb.ExchangeTB


        _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());
View Full Code Here

TOP

Related Classes of org.apache.qpid.server.store.berkeleydb.ExchangeTB

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.