Package org.springframework.amqp.core

Examples of org.springframework.amqp.core.DirectExchange.shouldDeclare()


    DirectExchange exchange = beanFactory.getBean("direct", DirectExchange.class);
    assertNotNull(exchange);
    assertEquals("direct", exchange.getName());
    assertTrue(exchange.isDurable());
    assertFalse(exchange.isAutoDelete());
    assertFalse(exchange.shouldDeclare());
    assertEquals(2, exchange.getDeclaringAdmins().size());
    Binding binding = beanFactory.getBean("org.springframework.amqp.rabbit.config.BindingFactoryBean#0", Binding.class);
    assertFalse(binding.shouldDeclare());
    assertEquals(2, binding.getDeclaringAdmins().size());
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.