6 Replies Latest reply on Sep 20, 2007 8:27 AM by Tim Fox

    Problem with destination's name using slash

    Hendra Sasmita Newbie

      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