Package com.consol.citrus.jms.endpoint

Examples of com.consol.citrus.jms.endpoint.JmsEndpointAdapter


        Map<String, JmsEndpointAdapter> adapters = beanDefinitionContext.getBeansOfType(JmsEndpointAdapter.class);

        Assert.assertEquals(adapters.size(), 1);

        // 1st endpoint adapter
        JmsEndpointAdapter adapter = adapters.get("endpointAdapter");
        Assert.assertEquals(adapter.getName(), "endpointAdapter");
        Assert.assertEquals(adapter.getEndpointConfiguration().getTimeout(), 2500L);
        Assert.assertEquals((adapter.getEndpointConfiguration()).getDestinationName(), "serverQueue");
        Assert.assertEquals((adapter.getEndpointConfiguration()).getReplyDestinationName(), "replyQueue");
        Assert.assertEquals(adapter.getEndpointConfiguration().isUseObjectMessages(), false);
        Assert.assertEquals((adapter.getEndpointConfiguration()).getConnectionFactory(), beanDefinitionContext.getBean("connectionFactory", ConnectionFactory.class));

    }
View Full Code Here

TOP

Related Classes of com.consol.citrus.jms.endpoint.JmsEndpointAdapter

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.