Java client throws NullPointerException  when header " message properties"  is 
not set 
---------------------------------------------------------------------------------------

                 Key: QPID-1374
                 URL: https://issues.apache.org/jira/browse/QPID-1374
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M4
            Reporter: Arnaud Simon
             Fix For: M4


The java JMS layer expects that all messages have message properties set. This 
is however not always  the case as AMQP doesn't mandate the message properties 
header to always be set. For example the python client doesn't set the message 
properties when they are empty. 

How to reproduce: 
- Send messages using the python client 
- Consume those messages with a java consumer

Solution: 
update AbstractJMSMessageFactory and MessageFactoryRegistry for dealing with 
null message properties header  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to