You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Five-0 (JIRA)" <ji...@apache.org> on 2010/11/30 15:26:11 UTC

[jira] Commented: (AMQ-2524) Messages are lost and no exception raised when queue is deleted and created by another process.

    [ https://issues.apache.org/jira/browse/AMQ-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965229#action_12965229 ] 

Five-0 commented on AMQ-2524:
-----------------------------

Same issue exists in 5.4.1. We are silently loosing messages if a queue is deleted via the console and the application continues to run. This behavior is not exactly ideal and I'm surprised this issue has been open for a year.

The send method should throw an exception.

> Messages are lost and no exception raised when queue is deleted and created by another process.
> -----------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2524
>                 URL: https://issues.apache.org/jira/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
>             Fix For: 5.4.2
>
>         Attachments: ConsumerTool.java, ProducerTool.java
>
>
> 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 (I used a breakpoint)
> 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.