protected void configureMessageConverter(MimeType contentType) {
		ConfigurableApplicationContext context = new ClassPathXmlApplicationContext(
				new String[] {ConfigLocations.XD_CONFIG_ROOT + "plugins/module-type-conversion.xml"});
		ModuleTypeConversionPlugin typeConversionPlugin = (ModuleTypeConversionPlugin) context.getBean("moduleTypeConversionPlugin");
		ModuleTypeConversionSupport moduleTypeConversionSupport = typeConversionPlugin.getModuleTypeConversionSupport();
		moduleTypeConversionSupport.configureMessageConverters(this, contentType, Thread.currentThread().getContextClassLoader());
	}
Configure message converter for this direct channel.

@param contentType the content type to use
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/spark/streaming/SparkStreamingChannel.java