[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1667) MBeans cannot have heirarchical names
Howard Gao (JIRA)
jira-events at lists.jboss.org
Wed Jun 2 01:23:51 EDT 2010
[ https://jira.jboss.org/browse/JBMESSAGING-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12533542#action_12533542 ]
Howard Gao commented on JBMESSAGING-1667:
-----------------------------------------
I'm sorry Richard, it is a response to Justin's private comments. I forgot to mark it as a private one. :)
> MBeans cannot have heirarchical names
> -------------------------------------
>
> Key: JBMESSAGING-1667
> URL: https://jira.jboss.org/browse/JBMESSAGING-1667
> Project: JBoss Messaging
> Issue Type: Feature Request
> Components: JMS Destination Manager
> Affects Versions: 1.4.0.SP3.CP08, 1.4.4.GA
> Environment: JBoss 5.1.0.GA
> Reporter: Richard Kennard
> Assignee: Howard Gao
> Fix For: 1.4.0.SP3.CP09, 1.4.5.GA
>
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list