You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "BJ Peter DeLaCruz (JIRA)" <ji...@apache.org> on 2012/07/07 11:51:34 UTC

[jira] [Comment Edited] (CAMEL-5429) Sending null in body when forcing JMS message type to Object throws an Exception

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

BJ Peter DeLaCruz edited comment on CAMEL-5429 at 7/7/12 9:50 AM:
------------------------------------------------------------------

Before I used "jmsMessageType=Object", the application was sending null in a message, and it worked. However, I ran into a problem when I was trying to send a Map of non-primitive, serialized objects. (See CAMEL-5293.) Using "jmsMessageType=Object" solved CAMEL-5293, but now I can no longer send null in a JMS message.
                
      was (Author: bjpeter):
    Before I used "jmsMessageType=Object", the application was sending null in a message, and it worked. However, I ran into a problem when I was trying to send a Map of non-primitive, serialized objects. (See this issue: https://issues.apache.org/jira/browse/CAMEL-5293.) Using "jmsMessageType=Object" solved CAMEL-5293, but now I can no longer send null in a JMS message.
                  
> Sending null in body when forcing JMS message type to Object throws an Exception
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-5429
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5429
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.9.0
>            Reporter: BJ Peter DeLaCruz
>         Attachments: Exception.txt, TestCamelJmsWithNull.java
>
>
> I set "jmsMessageType=Object", and when I try to send a null in the body, I get an exception. See program and log.

--
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