You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "r-a-v-i (JIRA)" <ji...@apache.org> on 2006/12/28 21:03:02 UTC

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

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


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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira