U S I N G   T H E   J M S   A P I  
let you configure the JBossMQ kernel.  The core, kernel level, MBeans are configured in the 
JBossMQ service.xml file.  Unless you are an advanced user, you should not have to edit this 
file.  If you undeploy the JBossMQ service.xml file, you in effect shutdown JBossMQ. 
The deployed JBossMQ destinations service.xml file exists for you to define the destinations 
that your applications need.  Most users will have to edit this file to create new Queues or 
Topics.  An example of a destination definition in the JBossMQ destinations service.xml is 
shown in Listing 11 3, the definition for a Queue Named "testQueue" and in Listing 11 4, 
the definition for a Topic Named "testTopic".  As you can see from the examples, role bases 
security authorization can be assigned on a Destination by destination basis. 
Listing 11 3, the definition for a Queue Named "testQueue" 
  
name="jboss.mq.destination:service=Queue,name=testQueue"> 
    jboss.mq:service=Server 
    
name="SecurityManager">jboss.mq:service=SecurityManager 
     
       
         
         
         
       
     
 
??? We can save space by getting rid of this Topic config,  It is VERY similar to the Queue 
config ???? 
Listing 11 4, the definition for a Topic Named "testTopic" 
  
name="jboss.mq.destination:service=Topic,name=testTopic"> 
  jboss.mq:service=Server 
    
name="SecurityManager">jboss.mq:service=SecurityManager 
     
       
         
         
         
       
     
 
103






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

best web hosting

 

Our partners: PHP: Hypertext Preprocessor Cheap Web Hosting JSP Web Hosting Ontario Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Java Hosting Cheapest Hosting

Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved