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

BJ Peter DeLaCruz commented on CAMEL-5429:
------------------------------------------

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

        

Reply via email to