[jboss-user] [JBoss Messaging] - Problem with destination's name using slash

hendra_netm do-not-reply at jboss.com
Wed Aug 29 07:54:45 EDT 2007


Hi guys,

Currently, I am using JBoss 1.3.0.GA with JBoss 4.2.0
I get strange behavior when using slash in queue name.

For example this queue name: /var/spool/test
will generate this exception: javax.naming.NameNotFoundException: spool not bound


  | <mbean code="org.jboss.jms.server.destination.QueueService"
  | 
  |       name="jboss.messaging.destination:service=Queue,name=/var/spool/test"
  | 
  |       xmbean-dd="xmdesc/Queue-xmbean.xml">
  | 
  |       <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  | 
  |       <depends>jboss.messaging:service=PostOffice</depends>
  | 
  | </mbean>
  | 
  | 


Fortunately, you can bound such name using server peer's deploy queue method.

Is this a bug? Or there is a rule about destination's name that forbids such kind of name?

Thank you for your attention.

Best Regards,
Hendra



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079107#4079107

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079107



More information about the jboss-user mailing list