You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2014/03/27 16:15:16 UTC
[jira] [Resolved] (AMQ-5119) broker redeliveryPlugin: after message
redelivery, all subsequent "producer.send()" using same message are
"scheduled" for delivery to queue rather than delivered to queue as normal
[ https://issues.apache.org/jira/browse/AMQ-5119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Tully resolved AMQ-5119.
-----------------------------
Resolution: Fixed
Fix Version/s: 5.10.0
thanks for the test.
issue was in message marshalling - when we get a property before removing the existing marshalled properties were not getting cleared so they were being retained. A little crazy that this bug has survived for so long.
thanks for the test.
fix and additional test in
http://git-wip-us.apache.org/repos/asf/activemq/commit/c07514f5
> broker redeliveryPlugin: after message redelivery, all subsequent "producer.send()" using same message are "scheduled" for delivery to queue rather than delivered to queue as normal
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-5119
> URL: https://issues.apache.org/jira/browse/AMQ-5119
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.9.0
> Environment: - tested on latest 5.10 snapshot
> Reporter: Pat Fox
> Assignee: Gary Tully
> Fix For: 5.10.0
>
> Attachments: RedeliveryPluginHeaderTest.java
>
>
> example:
> - consumer on QueueA does a transaction.rollback
> - message is being redelivered by the redeliveryPlugin to QueueA - as expected.
> - When the message is consumed again the AMQ_SCHEDULED_DELAY property is still set
> - the same message is subsequently sent to queueB
> - the send() is intercepted by org.apache.activemq.broker.scheduler.SchedulerBroker and scheduled for delivery later - this is not expected
--
This message was sent by Atlassian JIRA
(v6.2#6252)