I've got a few questions regarding JBossMQ queue and topic definitions.
I'm using JBoss 4.0.0. Trying to define several queues via the JMX console, however these do not appear to be saved. When I restart JBoss the queues are gone.
So, I manually changed the jbossmq-destinations-service.xml config file. This worked, but I want to also change the JNDI name for each queue. Since changes I make in via the JMX console do not persist, how do I specify the JNDI name in the xml config file?
Another strange thing is that although I have specified a SecurityManager service, this is not displayed in the bean view via the JMX console. Why is this? How do I then configure the security details for my queues?
Any help or advice much appreciated.
Andrew.
----------------- Config details for my queue ------------------------
<mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=SWDelayedRelease"> <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends> <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends> <attribute name="SecurityConf"> <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>
Ok I've figured out how to change the JNDIName attribute, but I still don't understand why changes via the JMX console are not being saved.