package org.gooru.nucleus.bootstrap;

import io.vertx.core.AbstractVerticle;
import io.vertx.core.eventbus.EventBus;
import io.vertx.core.json.JsonObject;
import org.gooru.nucleus.global.constants.EndpointsConstants;
import org.gooru.nucleus.global.utils.Runner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by ashish on 7/11/15.
 * Dummy Verticle to demonstrate the deployment for the template project
 */
public class DummyVerticle extends AbstractVerticle {

  static final Logger LOG = LoggerFactory.getLogger(DummyVerticle.class);


  @Override
  public void start() throws Exception {

    LOG.info("Dummy verticle starting...");
    LOG.info("The main configuration is {}", config().getInteger("http.port"));

    EventBus eb = vertx.eventBus();

    eb.consumer(EndpointsConstants.DUMMY_ENDPOINT, message -> {

      LOG.info("Received message: {}" + message.body());

      final JsonObject result = new JsonObject().put("Organisation", "gooru.org").put("Product", "nucleus").put("purpose", "api")
                                                .put("mission", "Honor the human right to education");

      // Now send back reply
      message.reply(result);
    });

    LOG.info("Receiver ready!");
  }

}
@@ -660,88 +660,8 @@
 .%22);
-%0A    LOG.info(%22The main configuration is %7B%7D%22, config().getInteger(%22http.port%22));
 %0A%0A  
@@ -801,10 +801,9 @@
  %7B%7D%22
- +
+,
  mes

Remove the spurious message from the logging