JMSMessageProperties not all set when converting messages
---------------------------------------------------------

                 Key: QPID-315
                 URL: https://issues.apache.org/jira/browse/QPID-315
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M1
            Reporter: Marnie McCormack
         Assigned To: Marnie McCormack
             Fix For: M2


Currently BasicMessageProducer.sendImpl currently contains the call:

AbstractJMSMessage message = convertToNativeMessage(origMessage);

The convertToNativeMessage(Message message) method creates a new Qpid Message 
instance and copies in some of the JMS property values of the incoming message.

e.g. the JMS delivery mode is copied into the new object with:

        newMessage.setJMSDeliveryMode(message.getJMSDeliveryMode());

These JMS properties are set:

JMSDeliveryMode
JMSPriority
JMSReplyTo

However, the following JMS properties are not being set for incoming messages:

JMSDestination
JMSExpiration
JMSMessageID
JMSTimestamp
JMSCorrelationID
JMSType
JMSRedelivered

This needs to be corrected.




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