private int getLengthOfPrefixPlusNameComponents() {
		int length = 0;
		if (channelType.isTap()) {
			length += 4;
		}
		for (int i = 0; i < nameComponents.size(); i++) {
			if (i > 0) {
				length++;
			}
			length += nameComponents.get(i).length();
		}
		return length;
	}
@author Andy Clement
@author David Turanski
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/stream/dsl/ChannelNode.java