activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AMQ-1612) Publishing to a deleted destination topic does not produce any errors
Date Mon, 14 Mar 2011 22:23:30 GMT

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

Timothy Bish closed AMQ-1612.
-----------------------------

    Resolution: Not A Problem

Modified the supplied test to work as a JUnit test, ran against the trunk build of AMQ broker,
tests pass

> Publishing to a deleted destination topic does not produce any errors
> ---------------------------------------------------------------------
>
>                 Key: AMQ-1612
>                 URL: https://issues.apache.org/jira/browse/AMQ-1612
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.0.0
>            Reporter: Kevin Koltzau
>             Fix For: NEEDS_REVIEWED
>
>         Attachments: AMQ1612Test.java, DeleteDestTest.java
>
>
> A topic was accidentally deleted while the our publisher was running, but the publisher
never received any error.
> Calling ActiveMQConnection.isDeleted does return true for this destination.
> It appears the solution already partly exists, ActiveMQConnection.send contains the following
lines
>         if (destination.isTemporary() && isDeleted(destination)) {
>             throw new JMSException("Cannot publish to a deleted Destination: " + destination);
>         }
> Removing destination.isTemporary() from that check appears to solve the problem, at least
while topic advisories are being watched.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message