Good catch - it can't be removed because we can't allow the same bean to be referenced by two endpoints - because the replyChannel is injected and the last one will "win".

Please change to `Assert.isTrue(!referencedReplyProducers.contains(replyHandler),` during merge.