[ https://issues.apache.org/jira/browse/CAMEL-12741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585736#comment-16585736 ]
ASF GitHub Bot commented on CAMEL-12741: ---------------------------------------- zregvart opened a new pull request #2483: CAMEL-12741: type conversion with SjmsMessage URL: https://github.com/apache/camel/pull/2483 If we don't copy Exchange in `SjmsMessage::copyFrom` then type conversion doesn't work. I'm not sure what approach to take for resolving [CAMEL-12741](https://issues.apache.org/jira/browse/CAMEL-12741). I've created two commits with two options that could help here, not sure what option (or both?) should we implement. ---------------------------------------------------------------- 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)