activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vishal Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARTEMIS-1004) ActiveMQMessage.getJMSRedelivered() is returning false in case of redeliveried message with ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE
Date Tue, 28 Feb 2017 19:02:45 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vishal Agarwal updated ARTEMIS-1004:
------------------------------------
    Description: 
if ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE is used as acknowledgement option and more
than one message is re-delivered only first message is having ActiveMQMessage.getJMSRedelivered()
as true other messages are returing false.

Please see the attached java class to reproduce the issue.

The side effect of this issue is that if we have max-delivery-attempts as 2 and 2 messages
are not ack, then 1st message will be delivered twice but 2nd message will be delivered 3
times.

Note: If Session.CLIENT_ACKNOWLEDGE is used then ActiveMQMessage.getJMSRedelivered()  is working
fine.

  was:
if ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE is used as acknowledgement option and more
than one message is re-delivered only first message is having ActiveMQMessage.getJMSRedelivered()
as true other messages are returing false.

Please see the attached java class to reproduce the issue.

Note: If Session.CLIENT_ACKNOWLEDGE is used then ActiveMQMessage.getJMSRedelivered()  is working
fine.


> ActiveMQMessage.getJMSRedelivered() is returning false in case of redeliveried message
with ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1004
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1004
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>            Reporter: Vishal Agarwal
>         Attachments: EmbeddedExample.java
>
>
> if ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE is used as acknowledgement option and
more than one message is re-delivered only first message is having ActiveMQMessage.getJMSRedelivered()
as true other messages are returing false.
> Please see the attached java class to reproduce the issue.
> The side effect of this issue is that if we have max-delivery-attempts as 2 and 2 messages
are not ack, then 1st message will be delivered twice but 2nd message will be delivered 3
times.
> Note: If Session.CLIENT_ACKNOWLEDGE is used then ActiveMQMessage.getJMSRedelivered()
 is working fine.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message