SetBody DSL should remove specialized Message as its no long apply ------------------------------------------------------------------
Key: CAMEL-2209 URL: https://issues.apache.org/activemq/browse/CAMEL-2209 Project: Apache Camel Issue Type: Bug Components: camel-core Affects Versions: 2.0.0, 1.6.1 Reporter: Claus Ibsen Assignee: Claus Ibsen Priority: Minor Fix For: 2.1.0 Also an issue from http://old.nabble.com/Original-message-body-lost-in-transacted-route-to26451809.html This issue is because the JmsMessage is still set as the IN message object and it contain the backing javax.jms.Message object. So when you for example use the setBody DSL to set a {{null} body or empty body then it may fallback and look into the specialized JmsMessage object. Set SetBodyProcessor should set a new DefaultMessage with the headers propagated and the new body evaluated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.