It's not ok. Take a look at the destination-service.xml file, there are some entries
and you can just copy and paste, making some modification, that all. Here is a simple
example entry fyi:
| <mbean code="org.jboss.jms.server.destination.QueueService"
| name="jboss.messaging.destination:service=Queue,name=testQueue"
| xmbean-dd="xmdesc/Queue-xmbean.xml">
| <depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
| <depends>jboss.messaging:service=PostOffice</depends>
| <attribute name="SecurityConfig">
| <security>
| <role name="guest" read="true"
write="true"/>
| <role name="publisher" read="true"
write="true" create="false"/>
| <role name="noacc" read="false"
write="false" create="false"/>
| </security>
| </attribute>
| </mbean>
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237651#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...