Package org.springframework.xd.test.fixtures

Examples of org.springframework.xd.test.fixtures.RabbitSink


   *
   */
  @Test
  public void testRabbitSink() {
    String data = UUID.randomUUID().toString();
    RabbitSink rabbitSink = sinks.rabbit(RabbitSource.DEFAULT_QUEUE).addresses(adminServer.getHost() + ":5672");
    stream(rabbitSource + XD_DELIMITER + sinks.file());
    stream(DATA_SENDER_NAME, "trigger --payload='" + data + "'" + XD_DELIMITER + rabbitSink);
    assertValid(data, sinks.file());

  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.test.fixtures.RabbitSink

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.