@Override protected FileTailingMessageProducerSupport doGet() { if (this.outputChannel == null) { this.factoryBean.setOutputChannel(new NullChannel()); } FileTailingMessageProducerSupport tailingMessageProducerSupport = null; try { this.factoryBean.afterPropertiesSet(); tailingMessageProducerSupport = this.factoryBean.getObject(); } catch (Exception e) { throw new IllegalStateException(e); } if (this.errorChannel != null) { tailingMessageProducerSupport.setErrorChannel(this.errorChannel); } tailingMessageProducerSupport.setOutputChannel(this.outputChannel); return tailingMessageProducerSupport; }
adapter.setErrorChannel(this.errorChannel); adapter.setBeanName(this.beanName); if (this.autoStartup != null) {
@Override protected FileTailingMessageProducerSupport doGet() { if (this.outputChannel == null) { this.factoryBean.setOutputChannel(new NullChannel()); } FileTailingMessageProducerSupport tailingMessageProducerSupport = null; try { this.factoryBean.afterPropertiesSet(); tailingMessageProducerSupport = this.factoryBean.getObject(); } catch (Exception e) { throw new IllegalStateException(e); } if (this.errorChannel != null) { tailingMessageProducerSupport.setErrorChannel(this.errorChannel); } tailingMessageProducerSupport.setOutputChannel(this.outputChannel); return tailingMessageProducerSupport; }
@Override protected FileTailingMessageProducerSupport doGet() { if (this.outputChannel == null) { this.factoryBean.setOutputChannel(new NullChannel()); } FileTailingMessageProducerSupport tailingMessageProducerSupport = null; try { this.factoryBean.afterPropertiesSet(); tailingMessageProducerSupport = this.factoryBean.getObject(); } catch (Exception e) { throw new IllegalStateException(e); } if (this.errorChannel != null) { tailingMessageProducerSupport.setErrorChannel(this.errorChannel); } tailingMessageProducerSupport.setOutputChannel(this.outputChannel); return tailingMessageProducerSupport; }