activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oon Thiam Teck (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1195) Get duplicate message after restart Topic subscriber.
Date Thu, 08 Mar 2007 10:02:21 GMT
Get duplicate message after restart Topic subscriber.
-----------------------------------------------------

                 Key: AMQ-1195
                 URL: https://issues.apache.org/activemq/browse/AMQ-1195
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 4.1.0
         Environment: MS Windows XP SP2, MySQL 5, JRE 1.4.2
            Reporter: Oon Thiam Teck


originally pposted at: http://www.nabble.com/Getting-duplicate-message-from-JMS-Topic-after-subscriber-restart-tf3362466s2354.html#a9371377

After restart a durable subscriber of a topic (by Ctrl-C in console windows), subscriber will
get 2 copy of same message. And after another restart, it will get 3 copy.

It will recover after restart ActiveMQ server.

Tested on ActiveMQ 4.0.2 and this problem do not occurs.

The subscriber client connect via tcp, is a durable subscription. Receive message via MessegaListener
interface onMessage() method.Acknowledgment mode is AUTO_ACKNOWLEDGE. Subscriber client program
do close the subscription, session, and connection in the program shutdown hook.

Publisher publish message as persistent message. 

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


Mime
View raw message