Package org.apache.qpid.disttest.controller.config

Examples of org.apache.qpid.disttest.controller.config.QueueConfig


        _queueName = "direct://amq.direct//" + getTestQueueName();
    }

    public void testCreateQueueWithoutAttributes() throws Exception
    {
        _configs.add(new QueueConfig(_queueName, true, EMPTY_ATTRIBUTES));

        assertQueueBound(_queueName, false);

        _creator.createQueues(_session, _configs);
View Full Code Here


    public void testCreateWithAttributes() throws Exception
    {
        Map<String, Object> attributes = new HashMap<String, Object>();
        attributes.put("x-qpid-priorities", Integer.valueOf(5));
        _configs.add(new QueueConfig(_queueName, true, attributes));

        assertQueueBound(_queueName, false);

        _creator.createQueues(_session, _configs);
View Full Code Here

        assertQueueBound(_queueName, true);
    }

    public void testDeleteQueues() throws Exception
    {
        _configs.add(new QueueConfig(_queueName, true, EMPTY_ATTRIBUTES));

        assertQueueBound(_queueName, false);

        _creator.createQueues(_session, _configs);
        assertQueueBound(_queueName, true);
View Full Code Here

    public void testDeleteQueueThatDoesNotExist() throws Exception
    {
        String queueThatDoesNotExist = _queueName;
        List<QueueConfig> configs = new ArrayList<QueueConfig>();
        Map<String, Object> attributes = Collections.emptyMap();
        configs.add(new QueueConfig(queueThatDoesNotExist, true, attributes));

        try
        {
            _creator.deleteQueues(_session, configs);
            fail("Exception not thrown");
View Full Code Here

        _queueName = "direct://amq.direct//" + getTestQueueName() + "?durable='" + QUEUE_DURABILITY + "'";
    }

    public void testCreateQueueWithoutAttributes() throws Exception
    {
        _configs.add(new QueueConfig(_queueName, QUEUE_DURABILITY, EMPTY_ATTRIBUTES));

        assertQueueBound(_queueName, false);

        _creator.createQueues(_connection, _session, _configs);
View Full Code Here

    public void testCreateWithAttributes() throws Exception
    {
        Map<String, Object> attributes = new HashMap<String, Object>();
        attributes.put("x-qpid-priorities", Integer.valueOf(5));
        _configs.add(new QueueConfig(_queueName, QUEUE_DURABILITY, attributes));

        assertQueueBound(_queueName, false);

        _creator.createQueues(_connection, _session, _configs);
View Full Code Here

        assertQueueBound(_queueName, true);
    }

    public void testDeleteQueues() throws Exception
    {
        _configs.add(new QueueConfig(_queueName, QUEUE_DURABILITY, EMPTY_ATTRIBUTES));

        assertQueueBound(_queueName, false);

        _creator.createQueues(_connection, _session, _configs);
        assertQueueBound(_queueName, true);
View Full Code Here

TOP

Related Classes of org.apache.qpid.disttest.controller.config.QueueConfig

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.