[ https://issues.apache.org/jira/browse/CAMEL-12741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16586222#comment-16586222 ]
ASF GitHub Bot commented on CAMEL-12741: ---------------------------------------- davsclaus opened a new pull request #2488: CAMEL-12741: The copy method on Message should by default set the exc… URL: https://github.com/apache/camel/pull/2488 …hange on the copied message to the same instance as from the source. If the copied message is re-attached to another exchange it will reset the exchange anyway. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > SjmsMessage should set Exchange in copyFrom > ------------------------------------------- > > Key: CAMEL-12741 > URL: https://issues.apache.org/jira/browse/CAMEL-12741 > Project: Camel > Issue Type: Bug > Components: camel-sjms > Reporter: Zoran Regvart > Assignee: Zoran Regvart > Priority: Major > Fix For: 2.23.0 > > > When a copy of the {{SjmsMessage}} is created using {{copyFrom(Message)}} the > resulting message copy doesn't have the {{Exchange}} set. This prevents the > use of {{TypeConverter}} when {{Message:getBody(Class)}} is invoked. -- This message was sent by Atlassian JIRA (v7.6.3#76005)