activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Palmer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2524) Messages are lost and no exception raised when queue is deleted and created by another process.
Date Mon, 07 Dec 2009 21:03:56 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joshua Palmer updated AMQ-2524:
-------------------------------

    Description: 
To reproduce the bug I used ConsumerTool.java and ProducerTool.java found in the activemq
distribution examples, transactions and durable queues:

Start ConsumerTool.java
Start producer 1 (Instance of ProducerTool.java)
Producer 1 sends first message
Consumer receives first message
Pause Producer 1
Delete Queue
Start producer 2
Make sure at least 1 message is created by producer 2 (10 messages total)
Let Producer 1 continue (9 more messages produced)

Expected result: 20 messages consumed by the consumer
Actual Result: 11 messages consumed by the consumer.  The second through tenth messages from
Producer 1 are lost and no exception is thrown.

  was:
To reproduce the bug I used ConsumerTool.java and ProducerTool.java found in the activemq
distribution examples, transactions and durable queues:

Start ConsumerTool.java
Start producer 1 (Instance of ProducerTool.java)
Producer 1 sends first message
Consumer receives first message
Pause Producer 1
Delete Queue
Start producer 2
Make sure at least 1 message is created by producer 2 (10 messages total)
Let Producer 2 continue (9 more messages produced)

Expected result: 20 messages consumed by the consumer
Actual Result: 11 messages consumed by the consumer.  The second through tenth messages from
Producer 1 are lost and no exception is thrown.


> Messages are lost and no exception raised when queue is deleted and created by another
process.
> -----------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2524
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2524
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.0
>         Environment: Windows Server 2003, Windows XP, ActiveMQ standalone installed as
a windows service via the Java Service Wrapper
>            Reporter: Joshua Palmer
>
> To reproduce the bug I used ConsumerTool.java and ProducerTool.java found in the activemq
distribution examples, transactions and durable queues:
> Start ConsumerTool.java
> Start producer 1 (Instance of ProducerTool.java)
> Producer 1 sends first message
> Consumer receives first message
> Pause Producer 1
> Delete Queue
> Start producer 2
> Make sure at least 1 message is created by producer 2 (10 messages total)
> Let Producer 1 continue (9 more messages produced)
> Expected result: 20 messages consumed by the consumer
> Actual Result: 11 messages consumed by the consumer.  The second through tenth messages
from Producer 1 are lost and no exception is thrown.

-- 
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