@@ -0,0 +1,1243 @@
+/*%0A * Copyright 2014 the original author or authors.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage net.kuujo.vertigo.testtools;%0A%0Aimport net.kuujo.vertigo.component.Component;%0Aimport net.kuujo.vertigo.java.ComponentVerticle;%0Aimport net.kuujo.vertigo.message.JsonMessage;%0A%0Aimport org.vertx.java.core.Handler;%0A%0A/**%0A * Pumping test component.%0A *%0A * @author Jordan Halterman%0A */%0Apublic class TestPumpingComponent extends ComponentVerticle %7B%0A%0A  @Override%0A  public void start(final Component component) %7B%0A    component.input().port(%22in%22).messageHandler(new Handler%3CJsonMessage%3E() %7B%0A      @Override%0A      public void handle(JsonMessage message) %7B%0A        component.output().port(%22out%22).send(message.body());%0A      %7D%0A    %7D);%0A  %7D%0A%0A%7D%0A

Add test pumping component.