Quantcast

[GitHub] activemq-artemis pull request #1106: add test for expiry address with qpid-j...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] activemq-artemis pull request #1106: add test for expiry address with qpid-j...

jdanekrh
GitHub user jdanekrh opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1106

    add test for expiry address with qpid-jms AMQP message

    The attached test fails on the last assert and prints `AMQ224039: Failed to expire message reference: java.lang.UnsupportedOperationException`
   
        [main] 10:38:16,965 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
        [main] 10:38:16,965 INFO  [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.1.0-SNAPSHOT [localhost, nodeID=f14d5091-0d50-11e7-8372-185e0fec8ce5]
        [Thread-0 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@43814d18-1549409129)] 10:38:17,399 WARN  [org.apache.activemq.artemis.core.server] AMQ222165: No Dead Letter Address configured for queue exampleQueue in AddressSettings
        [Thread-1 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@43814d18-1549409129)] 10:38:17,516 ERROR [org.apache.activemq.artemis.core.server] AMQ224039: Failed to expire message reference: java.lang.UnsupportedOperationException
                at java.util.AbstractMap.put(AbstractMap.java:209) [rt.jar:1.8.0_112]
                at org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.putStringProperty(AMQPMessage.java:666) [:]
                at org.apache.activemq.artemis.api.core.Message.referenceOriginalMessage(Message.java:373) [:]
                at org.apache.activemq.artemis.core.server.impl.QueueImpl.makeCopy(QueueImpl.java:2495) [:]
                at org.apache.activemq.artemis.core.server.impl.QueueImpl.makeCopy(QueueImpl.java:2474) [:]
                at org.apache.activemq.artemis.core.server.impl.QueueImpl.move(QueueImpl.java:2562) [:]
                at org.apache.activemq.artemis.core.server.impl.QueueImpl.expire(QueueImpl.java:1188) [:]
                at org.apache.activemq.artemis.core.server.impl.QueueImpl.checkExpired(QueueImpl.java:2674) [:]
                at org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2052) [:]
                at org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1700(QueueImpl.java:102) [:]
                at org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2878) [:]
                at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:101) [:]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_112]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_112]
                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_112]

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jdanekrh/activemq-artemis jd_expiry

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1106.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1106
   
----
commit 7bcf4c5a026e8ce5bcd694ae217356431552bdb4
Author: Jiri Danek <[hidden email]>
Date:   2017-03-20T09:38:05Z

    add test for expiry address with qpid-jms AMQP message

----


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] activemq-artemis issue #1106: add test for expiry address with qpid-jms AMQP...

jdanekrh
Github user jdanekrh commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1106
 
    [ot] @orpiske I hope this time we will manage to get a PR through, either this one or new one of yours ;)


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] activemq-artemis pull request #1106: add test for expiry address with qpid-j...

jdanekrh
In reply to this post by jdanekrh
Github user asfgit closed the pull request at:

    https://github.com/apache/activemq-artemis/pull/1106


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Loading...