Package org.springframework.amqp.core

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


    TopicExchange exchange = beanFactory.getBean("topic", TopicExchange.class);
    assertNotNull(exchange);
    assertEquals("topic", exchange.getName());
    assertTrue(exchange.isDurable());
    assertFalse(exchange.isAutoDelete());
    assertTrue(exchange.shouldDeclare());
    assertEquals(1, exchange.getDeclaringAdmins().size());

  }

  @Test
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.