public CompositeMessageConverter newInstance(MimeType targetMimeType) {
		List<MessageConverter> targetMimeTypeConverters = new ArrayList<MessageConverter>();
		for (AbstractFromMessageConverter converter : converters) {
			if (converter.supportsTargetMimeType(targetMimeType)) {
				targetMimeTypeConverters.add(converter);
			}
		}
		if (CollectionUtils.isEmpty(targetMimeTypeConverters)) {
			throw new ConversionException("No message converter is registered for "
					+ targetMimeType.toString());
		}
		return new CompositeMessageConverter(targetMimeTypeConverters);
	}
Creation method.

@param targetMimeType the target MIME type (outputType or inputType in XD)
@return a converter for the target MIME type
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/integration/bus/converter/CompositeMessageConverterFactory.java