Source:
<code>protected void onInit() throws Exception { super.onInit(); Assert.state(!(this.discardChannelName != null && this.discardChannel != null), "'discardChannelName' and 'discardChannel' are mutually exclusive."); BeanFactory beanFactory = this.getBeanFactory(); if (beanFactory != null) { if (this.outputProcessor instanceof BeanFactoryAware) { ((BeanFactoryAware) this.outputProcessor).setBeanFactory(beanFactory); } if (this.correlationStrategy instanceof BeanFactoryAware) { ((BeanFactoryAware) this.correlationStrategy).setBeanFactory(beanFactory); } if (this.releaseStrategy instanceof BeanFactoryAware) { ((BeanFactoryAware) this.releaseStrategy).setBeanFactory(beanFactory); } } if (this.discardChannel == null) { this.discardChannel = new NullChannel(); } if (this.releasePartialSequences) { Assert.isInstanceOf(SequenceSizeReleaseStrategy.class, this.releaseStrategy, "Release strategy of type [" + this.releaseStrategy.getClass().getSimpleName() + <START> "] cannot release partial sequences. Use the default SequenceSizeReleaseStrategy instead."); <END> ((SequenceSizeReleaseStrategy) this.releaseStrategy) .setReleasePartialSequences(this.releasePartialSequences); } if (this.evaluationContext == null) { this.evaluationContext = ExpressionUtils.createStandardEvaluationContext(getBeanFactory()); } if (this.sequenceAware && this.logger.isWarnEnabled()) { this.logger.warn("Using a SequenceSizeReleaseStrategy with large groups may not perform well, consider " + "using a SimpleSequenceSizeReleaseStrategy"); } this.lockRegistrySet = true; this.forceReleaseProcessor = createGroupTimeoutProcessor(); }</code><technical_language>SequenceSizeReleaseStrategy default more</technical_language>

Target:
protected void onInit() throws Exception { super.onInit(); Assert.state(!(this.discardChannelName != null && this.discardChannel != null), "'discardChannelName' and 'discardChannel' are mutually exclusive."); BeanFactory beanFactory = this.getBeanFactory(); if (beanFactory != null) { if (this.outputProcessor instanceof BeanFactoryAware) { ((BeanFactoryAware) this.outputProcessor).setBeanFactory(beanFactory); } if (this.correlationStrategy instanceof BeanFactoryAware) { ((BeanFactoryAware) this.correlationStrategy).setBeanFactory(beanFactory); } if (this.releaseStrategy instanceof BeanFactoryAware) { ((BeanFactoryAware) this.releaseStrategy).setBeanFactory(beanFactory); } } if (this.discardChannel == null) { this.discardChannel = new NullChannel(); } if (this.releasePartialSequences) { Assert.isInstanceOf(SequenceSizeReleaseStrategy.class, this.releaseStrategy, "Release strategy of type [" + this.releaseStrategy.getClass().getSimpleName() + "] cannot release partial sequences. Use a SequenceSizeReleaseStrategy instead."); ((SequenceSizeReleaseStrategy) this.releaseStrategy) .setReleasePartialSequences(this.releasePartialSequences); } if (this.evaluationContext == null) { this.evaluationContext = ExpressionUtils.createStandardEvaluationContext(getBeanFactory()); } if (this.sequenceAware && this.logger.isWarnEnabled()) { this.logger.warn("Using a SequenceSizeReleaseStrategy with large groups may not perform well, consider " + "using a SimpleSequenceSizeReleaseStrategy"); } this.lockRegistrySet = true; this.forceReleaseProcessor = createGroupTimeoutProcessor(); }