[jboss-jira] [JBoss JIRA] Assigned: (JBMESSAGING-1667) MBeans cannot have heirarchical names
Howard Gao (JIRA)
jira-events at lists.jboss.org
Thu Jun 25 01:33:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBMESSAGING-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard Gao reassigned JBMESSAGING-1667:
---------------------------------------
Assignee: Howard Gao (was: Tim Fox)
> MBeans cannot have heirarchical names
> -------------------------------------
>
> Key: JBMESSAGING-1667
> URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1667
> Project: JBoss Messaging
> Issue Type: Bug
> Components: JMS Destination Manager
> Affects Versions: 1.4.4.GA
> Environment: JBoss 5.1.0.GA
> Reporter: Richard Kennard
> Assignee: Howard Gao
>
> In JBoss 4.2.3.GA, it was possible to declare queues with 'heirarchical' names, for example:
> <mbean code="..." name="...,name=app1/emails">
> The forward slash in 'app1/emails' created a nested JNDI context of 'queue/app1/emails'. In JBoss 5.1.0.GA this no longer works. JBoss fails saying that the top-level context 'app1' does not exist. This is true, but JBoss should create it just-in-time.
> A workaround proposed on the forums is to use the 'JNDIName' attribute:
> <mbean code="..." name="...,name=emails">
> <attribute name="JNDIName">app1/emails</attribute>
> This works from a JNDI perspective, but the mbean itself is still named just 'emails' leaving the potential for name clashes:
> <mbean code="..." name="...,name=emails">
> <attribute name="JNDIName">app1/emails</attribute>
> <mbean code="..." name="...,name=emails">
> <attribute name="JNDIName">app2/emails</attribute>
> In JBoss 4.2.3.GA it was possible to declare queue names safely nested within their own heirarchies to avoid the possibility of name clashes. It would be nice to have this in JBoss 5.1.0.GA too.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list