Package org.springframework.amqp.core

Examples of org.springframework.amqp.core.HeadersExchange


  }

  @Test
  public void testHeadersExchange() throws Exception {
    HeadersExchange exchange = beanFactory.getBean("headers", HeadersExchange.class);
    assertNotNull(exchange);
    assertEquals("headers", exchange.getName());
    assertTrue(exchange.isDurable());
    assertFalse(exchange.isAutoDelete());
    assertTrue(exchange.shouldDeclare());
    assertEquals(1, exchange.getDeclaringAdmins().size());

  }
View Full Code Here

TOP

Related Classes of org.springframework.amqp.core.HeadersExchange

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.