I am looking for sample code references to email zip file (from stream) to SMTP server in camel Java. Here is what I tried and this code gives me : org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: null to the required type: java.io.InputStream with value null
from("amq:receiveZippedString")
.bean(this, "decompress(*)")
.marshall()
.zipFile()
.to("smtpServerEndPoint");