You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jim Newsham (JIRA)" <ji...@apache.org> on 2012/07/06 23:08:33 UTC

[jira] [Commented] (CAMEL-5293) Sending map that contains a serialized object that is not a primitive type causes an exception to be thrown.

    [ https://issues.apache.org/jira/browse/CAMEL-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408332#comment-13408332 ] 

Jim Newsham commented on CAMEL-5293:
------------------------------------

The issue for us is that we did not request a MapMessage and yet Camel was giving us one and then throwing an exception when it wouldn't serialize -- not that we don't know the JMS spec regarding map messages.  

This seemed like broken behavior, prior to reading the documentation for "jmsMessageType" (thanks James for the suggestion).  That looks like it should work for us.  We'll give it a try.
                
> 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
>            Assignee: Edstrom Johan
>         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