protected void validateChannelName(String channelName) {
		Assert.notNull(channelName, "channelName cannot be null");
		Assert.isTrue(channelName.startsWith(QUEUE_PREFIX) || channelName.startsWith(TOPIC_PREFIX),
				String.format("channel name %s is not well formed. It must start with %s or %s", channelName,
						QUEUE_PREFIX, TOPIC_PREFIX));
	}
Base class for factories used to create NamedChannelSource and NamedChannelSink. Factories are used to bind using p2p
or pub-sub {@link MessageBus} bindings for named channels prefixed by 'queue:' or 'topic:' respectively.

@author David Turanski
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/test/AbstractSingleNodeNamedChannelModuleFactory.java