You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Oon Thiam Teck (JIRA)" <ji...@apache.org> on 2007/03/08 11:02:21 UTC

[jira] Created: (AMQ-1195) Get duplicate message after restart Topic subscriber.

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.


[jira] Resolved: (AMQ-1195) Get duplicate message after restart Topic subscriber.

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-1195.
-----------------------------

    Fix Version/s: 5.1.0
                       (was: 5.2.0)
       Resolution: Fixed

see http://www.nabble.com/AMQ-1195-Get-duplicate-message-after-restart-Topic-subscriber.-tp18035270p18035270.html

> 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
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>
>
> 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.


[jira] Assigned: (AMQ-1195) Get duplicate message after restart Topic subscriber.

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies reassigned AMQ-1195:
-------------------------------

    Assignee: Rob Davies

> 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
>            Assignee: Rob Davies
>             Fix For: 5.2.0
>
>
> 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.


[jira] Commented: (AMQ-1195) Get duplicate message after restart Topic subscriber.

Posted by "Russ Healey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43630#action_43630 ] 

Russ Healey commented on AMQ-1195:
----------------------------------

Does anyone know if this issue is resolved in version 5.2?  I am new to this forum and I am confused by the fact that in the "Fix Version/s:" it has version 5.2 but the status of the issue is still open.

> 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
>             Fix For: 5.2.0
>
>
> 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.