Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
We should make convertBodyTo alike transform/setBody, as when you change the message body, then if any specialized message instances, then we should copy the message to a default message, and set the type converted body. This is how those other EIPs does it.
If you do a
from file
convertBodyTo String
to file
Then the file producer may detect the GenericFileMessage, from the consumer. But the convert body to, should have converted the message into a default message.