how to set attachment headers in camel exchange?

2013-01-16 Thread cww1769
Hi, all: I just met a problem in my project which is using cxf-camel. Here is my code in the camel processor: * HashMap map = (HashMap)exchange.getIn().getBody(); org.apache.cxf.message.Attachment attachment = (Attachment)map.get("MyAttachment"); exchange.getOut().addAttachment(attachm

RE: how to set attachment headers in camel exchange?

2013-01-17 Thread cww1769
, January 17, 2013 at 9:40 AM, cww1769 wrote: > Hi, all: > I just met a problem in my project which is using cxf-camel. Here is my > code in the camel processor: > * > HashMap map = (HashMap Object>)exchange.getIn().getBody(); > org.apache.cxf.message.Attachment attachment =

RE: how to set attachment headers in camel exchange?

2013-01-17 Thread cww1769
On Thursday, January 17, 2013 at 9:40 AM, cww1769 wrote: > Hi, all: > I just met a problem in my project which is using cxf-camel. Here is my > code in the camel processor: > * > HashMap map = (HashMap Object>)exchange.getIn().getBody(); > org.apache.cxf.message.

RE: how to set attachment headers in camel exchange?

2013-01-19 Thread cww1769
fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Friday, January 18, 2013 at 10:43 AM, cww1769 wrote: > Hi, Willem: > I

RE: how to set attachment headers in camel exchange?

2013-01-21 Thread cww1769
: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Saturday, January 19, 2013 at 4:57 PM, cww1769 wrote: > Hi, Willem: > It doesn't work either:( I