class LocalhostRequestRouter implements ApplicationListener<ContextRefreshedEvent> {

    @Override
    public void onApplicationEvent(final ContextRefreshedEvent event) {
        PropertyDTO propertyDTO = routeEngineConfigurationAccess.getProperties();
        internalPort = propertyDTO.getProxyPort();
    }

}