@Override protected void onInit() throws Exception { synchronized (this.initializationMonitor) { if (this.exporter == null) { RmiServiceExporter exporter = new RmiServiceExporter(); if (this.registryHost != null) { exporter.setRegistryHost(this.registryHost); } exporter.setRegistryPort(this.registryPort); if (this.remoteInvocationExecutor != null) { exporter.setRemoteInvocationExecutor(this.remoteInvocationExecutor); } exporter.setService(this); exporter.setServiceInterface(RequestReplyExchanger.class); exporter.setServiceName(SERVICE_NAME_PREFIX + this.requestChannelName); exporter.afterPropertiesSet(); this.exporter = exporter; } } super.onInit(); }