One more - and last - thing.
I've just performed some additionnal tests this morning.
The (complete) patch you've suggested, eg:
this.originalInMessage.setBody( exchange.getIn().getBody() );
this.originalInMessage.setHeaders( exchange.getIn().getHeaders()
);
this.originalInMessage.setAttachments(
exchange.getIn().getAttachments() );
is *NOT* working
The only "always-working" solution (at least with ActiveMQ) is copying the
whole message through:
this.originalInMessage = exchange.getIn().copy();
So I'm finally going to keep this satisfying solution...
<END-OF-STORY>
Regards,
Bernard.
--
View this message in context:
http://camel.465427.n5.nabble.com/OriginalMsg-Why-is-only-the-body-cloned-for-JMS-messages-tp5675413p5682643.html
Sent from the Camel Development mailing list archive at Nabble.com.