Do anyone Know how to a route return a binary data message. I've a Route that is invoked via cxfEndpoint and it has to return a PDF file. I ever get this error:
org.apache.camel.converter.stream.FileInputStreamCache cannot be cast to java.lang.String
THX
I think you need to look for attachment support for web services, for example
And at CXF search for MTOM