[jboss-jira] [JBoss JIRA] (WFLY-3866) Removing jndi entry which does not exist return success
RH Bugzilla Integration (JIRA)
issues at jboss.org
Thu Sep 18 03:40:02 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
RH Bugzilla Integration updated WFLY-3866:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1142619
> Removing jndi entry which does not exist return success
> -------------------------------------------------------
>
> Key: WFLY-3866
> URL: https://issues.jboss.org/browse/WFLY-3866
> Project: WildFly
> Issue Type: Enhancement
> Components: JMS
> Affects Versions: 9.0.0.Alpha1
> Reporter: Jeff Mesnil
> Assignee: Jeff Mesnil
> Priority: Minor
> Fix For: 9.0.0.Beta1
>
>
> Operation "remove-jndi" on queue/topic is successful when trying to remove non-existent JNDI entry:
> [standalone at localhost:9999 jms-queue=testQueue1] :read-resource
> {
> "outcome" => "success",
> "result" => {
> "durable" => true,
> "entries" => ["java:jboss/exported/jms/queue/testQueue2"],
> "selector" => undefined
> }
> }
> [standalone at localhost:9999 jms-queue=testQueue1] :remove-jndi(jndi-binding=java:jboss/exported/jms/queue/dummyQueue)
> {
> "outcome" => "success",
> "result" => undefined
> }
> We should return outcome "failed" with "failure-description" like "Can not remove JNDI name java:jboss/exported/jms/queue/dummyQueue. The resource does not contain such a JNDI name."
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list