Hi, I believe the stream way is already how it works by default If your incoming message only have one attachment, this attachment won't be cached by default, it's just in underlying transport input stream, you can dispatch it to any target webservice using stream way(which means no cache in your proxy).
Here is a blog[1] about how CXF mtom works, you may wanna take a look. [1]http://ext2xhb.wordpress.com/2011/06/08/using-cxf-attachment-safely/ ------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-3-29, at 下午1:55, sam.tech wrote: > Please Advice > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Provider-with-MTOM-Stream-tp5725571p5725572.html > Sent from the cxf-user mailing list archive at Nabble.com.
