Examples of ManagedExchange


Examples of org.apache.qpid.management.common.mbeans.ManagedExchange

    public void testInvalidHeaderBindingMalformed() throws Exception
    {
        HeadersExchange exchange = new HeadersExchange();
        exchange.initialise(_virtualHost,ExchangeDefaults.HEADERS_EXCHANGE_NAME, false, 0, true);
        ManagedObject managedObj = exchange.getManagedObject();
        ManagedExchange mbean = (ManagedExchange)managedObj;

        try
        {
            mbean.createNewBinding(_queue.getNameShortString().toString(), "x-match=any,=value4");
            fail("Exception not thrown");
        }
        catch (JMException jme)
        {
            //pass
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.