[jboss-jira] [JBoss JIRA] (WFLY-3493) Messaging subsystem allows you to remove a destination even though it has an attached client
Brian Stansberry (JIRA)
issues at jboss.org
Fri Jun 13 16:48:38 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976226#comment-12976226 ]
Brian Stansberry commented on WFLY-3493:
----------------------------------------
BTW, the "luckywinner" stuff in my last comment comes from an app I use in demos that has a servlet with an @Resource injection of a queue.
Hmm, there's also an MDB in a separate deployment that uses the queue, and I'm not seeing anything about that dependency being broken.
> Messaging subsystem allows you to remove a destination even though it has an attached client
> --------------------------------------------------------------------------------------------
>
> Key: WFLY-3493
> URL: https://issues.jboss.org/browse/WFLY-3493
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMS
> Affects Versions: 8.1.0.Final
> Environment: WildFly 8.1 Final
> Reporter: Tom Ross
> Assignee: Jeff Mesnil
>
> Currently jboss-cli allows a queue to be removed even though there is a MDB attached to it. The command
> {noformat}
> /subsystem=messaging/hornetq-server=default/jms-queue=testQueue:remove()
> {noformat}
> will remove the queue without a warning. This is not desirable since a warning should be given or a reload should be force. It may also break the dependency injection.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list