});
// Iterate through each new input port and open and add the port.
for (final InputPort port : newPorts) {
log.debug(String.format("%s - Opening in port: %s", DefaultInputCollector.this, port));
port.open(new Handler<AsyncResult<Void>>() {
@Override
public void handle(AsyncResult<Void> result) {
if (result.failed()) {
log.error(String.format("%s - Failed to open in port: %s", DefaultInputCollector.this, port));
} else {