Package com.consol.citrus.channel

Examples of com.consol.citrus.channel.MessageSelectingQueueChannel


       
        // 1st channel
        Assert.assertTrue(channels.containsKey("channel1"));
       
        // 2nd chanel with capacity
        MessageSelectingQueueChannel channel = channels.get("channel2");
        Assert.assertEquals(channel.getRemainingCapacity(), 5);
       
        // 3rd chanel with polling interval
        channel = channels.get("channel3");
        Assert.assertEquals(channel.getPollingInterval(), 550);

        // 4th channel
        Assert.assertTrue(channels.containsKey("channel4"));

        // 5th chanel with capacity
        channel = channels.get("channel5");
        Assert.assertEquals(channel.getRemainingCapacity(), 5);

        // 6th chanel with polling interval
        channel = channels.get("channel6");
        Assert.assertEquals(channel.getPollingInterval(), 550);
    }
View Full Code Here

TOP

Related Classes of com.consol.citrus.channel.MessageSelectingQueueChannel

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.