Package org.mokai.types.mock

Examples of org.mokai.types.mock.MockServiceableConnector


  @Test
  public void testStartRoutingEngineWithSlowConnectors() throws Exception {
    CamelRoutingEngine routingEngine = new CamelRoutingEngine();

    try {
      Processor connection = new MockServiceableConnector().withStartWaitTime(5000);
      Connector application = new MockServiceableConnector().withStartWaitTime(5000);

      routingEngine.addConnection("test", connection);
      routingEngine.addApplication("test", application);

      long startTime = new Date().getTime();
View Full Code Here

TOP

Related Classes of org.mokai.types.mock.MockServiceableConnector

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.