public static MimeType javaObjectMimeType(Class<?> clazz) {
		return MimeType.valueOf("application/x-java-object;type=" + clazz.getName());
	}
Build the conventional {@link MimeType} for a java object

@param clazz the java type
@return the MIME type
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/integration/bus/converter/MessageConverterUtils.java