Examples of DirectExchange


Examples of org.springframework.amqp.core.DirectExchange

  }

  @Test
  public void testAliasDirectExchange() throws Exception {
    DirectExchange exchange = beanFactory.getBean("alias", DirectExchange.class);
    assertNotNull(exchange);
    assertEquals("direct-alias", exchange.getName());
    assertTrue(exchange.isDurable());
    assertFalse(exchange.isAutoDelete());
  }
View Full Code Here

Examples of org.springframework.amqp.core.DirectExchange

  }

  @Test
  public void testDirectExchangeOverride() throws Exception {
    DirectExchange exchange = beanFactory.getBean("direct-override", DirectExchange.class);
    assertNotNull(exchange);
    assertEquals("direct-override", exchange.getName());
    assertFalse(exchange.isDurable());
    assertTrue(exchange.isAutoDelete());
  }
View Full Code Here

Examples of org.springframework.amqp.core.DirectExchange

    assertTrue(exchange.isAutoDelete());
  }

  @Test
  public void testDirectExchangeWithArguments() throws Exception {
    DirectExchange exchange = beanFactory.getBean("direct-arguments", DirectExchange.class);
    assertNotNull(exchange);
    assertEquals("direct-arguments", exchange.getName());
    assertEquals("bar", exchange.getArguments().get("foo"));
  }
View Full Code Here

Examples of org.springframework.amqp.core.DirectExchange

    assertEquals("bar", exchange.getArguments().get("foo"));
  }

  @Test
  public void testDirectExchangeWithReferencedArguments() throws Exception {
    DirectExchange exchange = beanFactory.getBean("direct-ref-arguments", DirectExchange.class);
    assertNotNull(exchange);
    assertEquals("direct-ref-arguments", exchange.getName());
    assertEquals("bar", exchange.getArguments().get("foo"));
  }
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.