/** * Specify whether failures for one or more of the handlers should be * ignored. By default this is <code>false</code> meaning that an Exception * will be thrown whenever a handler fails. To override this and suppress * Exceptions, set the value to <code>true</code>. * @param ignoreFailures true if failures should be ignored. */ public void setIgnoreFailures(boolean ignoreFailures) { this.ignoreFailures = ignoreFailures; getDispatcher().setIgnoreFailures(ignoreFailures); }
getDispatcher().setIgnoreFailures(this.ignoreFailures); getDispatcher().setApplySequence(this.applySequence); getDispatcher().setMinSubscribers(this.minSubscribers);
/** * Specify whether failures for one or more of the handlers should be * ignored. By default this is <code>false</code> meaning that an Exception * will be thrown whenever a handler fails. To override this and suppress * Exceptions, set the value to <code>true</code>. */ public void setIgnoreFailures(boolean ignoreFailures) { this.ignoreFailures = ignoreFailures; this.getDispatcher().setIgnoreFailures(ignoreFailures); }
/** * Specify whether failures for one or more of the handlers should be * ignored. By default this is <code>false</code> meaning that an Exception * will be thrown whenever a handler fails. To override this and suppress * Exceptions, set the value to <code>true</code>. * @param ignoreFailures true if failures should be ignored. */ public void setIgnoreFailures(boolean ignoreFailures) { this.ignoreFailures = ignoreFailures; getDispatcher().setIgnoreFailures(ignoreFailures); }
public void setBeanFactory(BeanFactory beanFactory) { if (this.taskExecutor != null) { if (!(this.taskExecutor instanceof ErrorHandlingTaskExecutor)) { if (this.errorHandler == null) { this.errorHandler = new MessagePublishingErrorHandler(new BeanFactoryChannelResolver(beanFactory)); } this.taskExecutor = new ErrorHandlingTaskExecutor(this.taskExecutor, this.errorHandler); } this.dispatcher = new BroadcastingDispatcher(this.taskExecutor); this.dispatcher.setIgnoreFailures(this.ignoreFailures); this.dispatcher.setApplySequence(this.applySequence); } }
getDispatcher().setIgnoreFailures(this.ignoreFailures); getDispatcher().setApplySequence(this.applySequence); getDispatcher().setMinSubscribers(this.minSubscribers);