GitHub user zregvart opened a pull request:
https://github.com/apache/camel/pull/2483
CAMEL-12741: type conversion with SjmsMessage
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zregvart/camel CAMEL-12741
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2483.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2483
----
commit 8731e90d2ac680a40b90bb21406b688e95c8e5bd
Author: Zoran Regvart <zregvart@...>
Date: 2018-08-20T09:55:18Z
Option A: set the Exchange of the original message
commit 6ac7c7b3cc4020f17a939d79d86b57d8abcde189
Author: Zoran Regvart <zregvart@...>
Date: 2018-08-20T09:55:39Z
Option B: support type conversion without Exchange
----
---