}
dispatch.dispatch(new ForwardInput(idGenerator.generateId(), input.getBytes()));
}
public void endOfStream(@Nullable Throwable failure) {
CloseInput message = new CloseInput(idGenerator.generateId());
LOGGER.debug("Dispatching close input message: {}", message);
dispatch.dispatch(message);
}