activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] Commented: (AMQ-1111) Message.getJMSRedelivered() does not work if the server restarts
Date Tue, 13 Apr 2010 15:10:45 GMT


Gary Tully commented on AMQ-1111:

To resolve this, the message needs to get stored twice or on each redelivery attempt. currently
the redelivery state is maintained only in memory. It is unlikely that this issue will be
resolved in the short term because the stores would need to accept duplicates or updates which
they are not designed for.

> Message.getJMSRedelivered() does not work if the server restarts
> ----------------------------------------------------------------
>                 Key: AMQ-1111
>                 URL:
>             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.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message