I think you are confusing MIME attachments and attachments of Camel
exchanges.
When you post an attachment on a multipart web form, this attachment is
stored in a multipart *body* of an HTTP entity 

So MIME attachments are ending up into the *body* of the Camel
message/exchange (and no more as attachments) making thereby possible to
convert/serialize it into to a JMS message (on a DLQ for instance).

This being said, I still do not understand what really makes a:
     this.originalInMessage = exchange.getIn().copy(); 
work better than this:
     this.originalInMessage.setBody( exchange.getIn().getBody() ); 
     this.originalInMessage.setHeaders( exchange.getIn().getHeaders() 

 




--
View this message in context: 
http://camel.465427.n5.nabble.com/OriginalMsg-Why-is-only-the-body-cloned-for-JMS-messages-tp5675413p5713795.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to