[
https://issues.apache.org/jira/browse/ARTEMIS-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
clebert suconic closed ARTEMIS-944.
-----------------------------------
> Broker can't convert AMQP python message to Openwire format
> -----------------------------------------------------------
>
> Key: ARTEMIS-944
> URL: https://issues.apache.org/jira/browse/ARTEMIS-944
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP
> Reporter: Andy Taylor
> Fix For: 2.0.0
>
>
> If you send an amqp message with a header set for the JMSXPriority it cant be
> consumed by Openwire.
> 13:32:10,041 WARN [org.apache.activemq.artemis.core.server] Error during
> message dispatch: java.io.IOException: exception setting property
> JMSXDeliveryCount : 1
> at
> org.apache.activemq.artemis.core.protocol.openwire.OpenWireMessageConverter.toAMQMessage(OpenWireMessageConverter.java:772)
> [artemis-openwire-protocol-1.5.1.amq-700002-redhat-1.jar:]
> at
> org.apache.activemq.artemis.core.protocol.openwire.OpenWireMessageConverter.createMessageDispatch(OpenWireMessageConverter.java:419)
> [artemis-openwire-protocol-1.5.1.amq-700002-redhat-1.jar:]
> at
> org.apache.activemq.artemis.core.protocol.openwire.amq.AMQConsumer.handleDeliver(AMQConsumer.java:205)
> [artemis-openwire-protocol-1.5.1.amq-700002-redhat-1.jar:]
> at
> org.apache.activemq.artemis.core.protocol.openwire.amq.AMQSession.sendMessage(AMQSession.java:235)
> [artemis-openwire-protocol-1.5.1.amq-700002-redhat-1.jar:]
> at
> org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1020)
> [artemis-server-1.5.1.amq-700002-redhat-1.jar:1.5.1.amq-700002-redhat-1]
> at
> org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:416)
> [artemis-server-1.5.1.amq-700002-redhat-1.jar:1.5.1.amq-700002-redhat-1]
> at
> org.apache.activemq.artemis.core.server.impl.QueueImpl.proceedDeliver(QueueImpl.java:2641)
> [artemis-server-1.5.1.amq-700002-redhat-1.jar:1.5.1.amq-700002-redhat-1]
> at
> org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2142)
> [artemis-server-1.5.1.amq-700002-redhat-1.jar:1.5.1.amq-700002-redhat-1]
> at
> org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1700(QueueImpl.java:103)
> [artemis-server-1.5.1.amq-700002-redhat-1.jar:1.5.1.amq-700002-redhat-1]
> at
> org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2873)
> [artemis-server-1.5.1.amq-700002-redhat-1.jar:1.5.1.amq-700002-redhat-1]
> at
> org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:101)
> [artemis-commons-1.5.1.amq-700002-redhat-1.jar:1.5.1.amq-700002-redhat-1]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [rt.jar:1.8.0_51]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [rt.jar:1.8.0_51]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]
> Caused by: javax.jms.MessageFormatException: Property JMSXDeliveryCount
> cannot be set from a java.lang.Long.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)