Bug 1140537
| Summary: | CLI allows to add queue with 2 exactly the same jndi entries | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Miroslav Novak <mnovak> |
| Component: | JMS | Assignee: | Jeff Mesnil <jmesnil> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Miroslav Novak <mnovak> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | kkhan, msvehla |
| Target Milestone: | DR2 | ||
| Target Release: | EAP 6.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Verified in EAP 6.4.0.DR2. Thanks for the fix, Jeff! |
Description of problem: Adding queue/topic with 2 jndi entries which are the same should not be allowed. [standalone@localhost:9999 /] /subsystem=messaging/hornetq-server=default/jms-queue=testQueue:add(entries=["java:/jms/queue/testQueue","java:/jms/queue/testQueue"] {"outcome" => "success"} [standalone@localhost:9999 /] /subsystem=messaging/hornetq-server=default/jms-queue=testQueue:read-resource { "outcome" => "success", "result" => { "durable" => true, "entries" => [ "java:/jms/queue/testQueue", "java:/jms/queue/testQueue" ], "selector" => undefined } }