Qpid Proton
  1. Qpid Proton
  2. PROTON-340

AMQP to JMS transformer fails to properly map AMQP specific property types like UnsignedInteger

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None

      Description

      Causes errors like:

      Caused by: javax.jms.MessageFormatException: Only objectified primitive objects, String, Map and List types are allowed but was: 1 type: class org.apache.qpid.proton.amqp.UnsignedInteger
      at org.apache.activemq.command.ActiveMQMessage.checkValidObject(ActiveMQMessage.java:521)
      at org.apache.activemq.command.ActiveMQMessage.setObjectProperty(ActiveMQMessage.java:487)
      at org.apache.activemq.command.ActiveMQMessage.setObjectProperty(ActiveMQMessage.java:475)
      at org.apache.activemq.command.ActiveMQBytesMessage.setObjectProperty(ActiveMQBytesMessage.java:896)
      at org.apache.qpid.proton.jms.InboundTransformer.setProperty(InboundTransformer.java:265)
      at org.apache.qpid.proton.jms.InboundTransformer.populateMessage(InboundTransformer.java:168)
      at org.apache.qpid.proton.jms.AMQPNativeInboundTransformer.transform(AMQPNativeInboundTransformer.java:37)
      at org.apache.activemq.transport.amqp.AmqpProtocolConverter$ProducerContext.onMessage(AmqpProtocolConverter.java:508)
      at org.apache.activemq.transport.amqp.AmqpProtocolConverter$BaseProducerContext.onDelivery(AmqpProtocolConverter.java:489)
      at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onFrame(AmqpProtocolConverter.java:262)

      1. PROTON-340.patch
        3 kB
        Hiram Chirino

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1494211 from Gordon Sim
        [ https://svn.apache.org/r1494211 ]

        PROTON-340: map AMQP specific application property value types. Patch from Hiram Chirino.

        Show
        ASF subversion and git services added a comment - Commit 1494211 from Gordon Sim [ https://svn.apache.org/r1494211 ] PROTON-340 : map AMQP specific application property value types. Patch from Hiram Chirino.
        Hide
        Hiram Chirino added a comment -

        Attaching fix for the bug.

        Show
        Hiram Chirino added a comment - Attaching fix for the bug.

          People

          • Assignee:
            Hiram Chirino
            Reporter:
            Hiram Chirino
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development