Github user clebertsuconic commented on the pull request:

    https://github.com/apache/activemq-artemis/pull/482#issuecomment-214591080
  
    @gaohoward the test you added doesn't work:
    
    I get lots of exceptions:
    
    ```
    
    java.lang.IllegalArgumentException: Unknown Destination Type passed to JMS 
Transformer.
        at 
org.apache.activemq.transport.amqp.message.JMSMappingOutboundTransformer.destinationType(JMSMappingOutboundTransformer.java:322)
        at 
org.apache.activemq.transport.amqp.message.JMSMappingOutboundTransformer.convert(JMSMappingOutboundTransformer.java:193)
        at 
org.apache.activemq.artemis.core.protocol.proton.converter.ProtonMessageConverter.outbound(ProtonMessageConverter.java:105)
        at 
org.apache.activemq.artemis.core.protocol.proton.plug.ProtonSessionIntegrationCallback.encodeMessage(ProtonSessionIntegrationCallback.java:214)
        at 
org.proton.plug.context.server.ProtonServerSenderContext.deliverMessage(ProtonServerSenderContext.java:270)
        at 
org.apache.activemq.artemis.core.protocol.proton.plug.ProtonSessionIntegrationCallback.sendMessage(ProtonSessionIntegrationCallback.java:363)
        at 
org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1027)
        at 
org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:417)
        at 
org.apache.activemq.artemis.core.server.impl.QueueImpl.proceedDeliver(QueueImpl.java:2463)
        at 
org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:1955)
        at 
org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1400(QueueImpl.java:98)
        at 
org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2694)
        at 
org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:100)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
    22:43:02,734 WARN  [org.apache.activemq.artemis.core.server] AMQ222151: 
removing consumer which did not handle a message, consumer=ServerConsumerImpl 
[id=0, filter=null, binding=LocalQueueBinding [address=jms.queue.exampleQueue, 
queue=QueueImpl[name=jms.queue.exampleQueue, postOffice=PostOfficeImpl 
[server=ActiveMQServerImpl::serverUUID=971a280e-0b58-11e6-999f-426c8fd39000]]@35137fbc,
 filter=null, name=jms.queue.exampleQueue, 
clusterName=jms.queue.exampleQueue971a280e-0b58-11e6-999f-426c8fd39000]], 
message=Reference[5]:RELIABLE:ServerMessage[messageID=5,durable=true,userID=null,priority=4,
 bodySize=32768, timestamp=Mon Apr 25 22:43:02 EDT 2016,expiration=0, 
durable=true, 
address=jms.queue.exampleQueue,properties=TypedProperties[JMS_AMQP_NATIVE=false,JMS_AMQP_MA_x-opt-jms-dest=0,JMS_AMQP_MESSAGE_FORMAT=0,JMS_AMQP_MA_x-opt-jms-msg-type=5]]@74198727:
 java.lang.IllegalStateException: Can't deliver message 
org.proton.plug.exceptions.ActiveMQAMQPInternalErrorException: Unknown Destinat
 ion Type passed to JMS Transformer.
        at 
org.apache.activemq.artemis.core.protocol.proton.plug.ProtonSessionIntegrationCallback.sendMessage(ProtonSessionIntegrationCallback.java:370)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1027)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:417)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.QueueImpl.proceedDeliver(QueueImpl.java:2463)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:1955)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1400(QueueImpl.java:98)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2694)
 [:]
        at 
org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:100)
 [:]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[rt.jar:1.8.0_73]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[rt.jar:1.8.0_73]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_73]
    Caused by: org.proton.plug.exceptions.ActiveMQAMQPInternalErrorException: 
Unknown Destination Type passed to JMS Transformer.
        at 
org.proton.plug.context.server.ProtonServerSenderContext.deliverMessage(ProtonServerSenderContext.java:274)
 [:]
        at 
org.apache.activemq.artemis.core.protocol.proton.plug.ProtonSessionIntegrationCallback.sendMessage(ProtonSessionIntegrationCallback.java:363)
 [:]
        ... 10 more
    
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to