That would seem to be a little too restrictive a naming requirement.
Using isJavaIdentifierPart may be more acceptable. What is the
current naming problem?

----- Original Message ----- 
From: "David Budworth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 5:22 PM
Subject: [JBoss-dev] JMS queue names (again)


> Ok, now that we have the ability to set the JNDI name on a queue/topic,
> I would like to fix the bug (that I put in) in regards to deep queue
> names.
> 
> For simplicities sake, I'll just revert the file PM back to the way it
> was.
> 
> But, since there was (and will be when I revert) a bug there that if 
> you create a queue/topic with depth (ie: mycompany/queues/q1)
> 
> The File PM will fail at next startup.
> 
> So, I'd like to add some name validation.
> 
> Is anyone uncomfortable if I enforce the queue names to be alpha-numeric
> only? (via, Character.isLetterOrDigit())
> JBoss (as it ships), doesn't define any topics/queues that would violate
> that rule right now.
> 
> Opinions?
> 
> -David
> 



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to