Alex Plischke created QPIDJMS-89:
------------------------------------

             Summary: MapMessages that are not annotated as such, are handled 
as ObjectMessages by the consumer instead
                 Key: QPIDJMS-89
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-89
             Project: Qpid JMS
          Issue Type: Bug
          Components: qpid-jms-client
    Affects Versions: 0.3.0, 0.2.0
            Reporter: Alex Plischke


If the annotation type "x-opt-jms-msg-type" is missing from the message (e.g. 
the message was created by the old qpid amqp 1.0 client) and this message is 
supposed to be a MapMessage, then the consumer will create an ObjectMessage 
instead.

This is due to AmqpJmsMessageBuilder.createWithoutAnnotation() not handling the 
MapMessage case, which ends up creating an ObjectMessage instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to