[ https://issues.apache.org/jira/browse/CAMEL-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280668#comment-13280668 ]
James Carman commented on CAMEL-5293: ------------------------------------- You can try setting transferExchange=true on your URI to just have it transfer the entire exchange. ActiveMQ doesn't allow serializable objects (other than lists and maps) as the "value" of a MapMessage, apparently. > Sending map that contains a serialized object that is not a primitive type > causes an exception to be thrown. > ------------------------------------------------------------------------------------------------------------ > > Key: CAMEL-5293 > URL: https://issues.apache.org/jira/browse/CAMEL-5293 > Project: Camel > Issue Type: Bug > Affects Versions: 2.9.0 > Reporter: BJ Peter DeLaCruz > Attachments: TestCamelJmsWithMap.java > > > I created a serialized object and put it in a map. I put the map in the body > of a message, and when I tried to send the message, an exception was thrown. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira