Hiram Chirino created PROTON-340:
------------------------------------

             Summary: AMQP to JMS transformer fails to properly map AMQP 
specific property types like UnsignedInteger
                 Key: PROTON-340
                 URL: https://issues.apache.org/jira/browse/PROTON-340
             Project: Qpid Proton
          Issue Type: Bug
            Reporter: Hiram Chirino
            Assignee: Hiram Chirino
             Fix For: 0.5


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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to