You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Krishna (JIRA)" <ji...@apache.org> on 2010/04/09 19:45:09 UTC

[jira] Commented: (AMQ-1111) Message.getJMSRedelivered() does not work if the server restarts

    [ https://issues.apache.org/activemq/browse/AMQ-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58737#action_58737 ] 

Krishna commented on AMQ-1111:
------------------------------

What is the status on this? 

This happens in the latest releases (5.3.0 and 5.3.1) as well. We also noticed that the redelivery count also re-sets to 0.

Thanks!

 

> Message.getJMSRedelivered() does not work if the server restarts
> ----------------------------------------------------------------
>
>                 Key: AMQ-1111
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1111
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.0.2
>         Environment: Active MQ 4.0.2
>            Reporter: r-a-v-i
>             Fix For: 4.1.3
>
>
> Steps to reproduce : 
> a) Start ActiveMQ 4.0.2 
> b) Create a transacted session, create a topic , publish a message to the  topic. 
> c) Create a durable subscriber  and kill the durable subscriber,  before the  session.commit() is called. 
> (Put a debug break point just before the session.commit())
> e) Message gets redelivered and in the onMessage() method of the respective listener Message.getJMSRedelivered() become true. 
>  In the above use case, instead of killing the durable subscriber, if I restart the server, the message is getting redelivered but  Message.getJMSRedelivered() is false. 
>  
> Please contact me if you need more details.
> Thanks,
> r-a-v-i

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.