[jboss-user] [JBoss Messaging] - Re: dynamic create queue

timfox do-not-reply at jboss.com
Mon Jul 31 16:13:54 EDT 2006


This explains how to call an MBean:

http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIGetRemoteAccessToMyMBean

The ServerPeer object name can be found by looking at the jmx-console where all the MBeans are listed (jboss.messaging:service=ServerPeer).

You can also find this out by looking a the serverpeer MBean config in messaging-service.xml:


  | 
  | <mbean code="org.jboss.jms.server.ServerPeer"
  |       name="jboss.messaging:service=ServerPeer"
  |       xmbean-dd="xmdesc/ServerPeer-xmbean.xml">
  | 
  |       <constructor>
  |          <!-- ServerPeerID -->
  |          <arg type="java.lang.String" value="server.0" />
  |          <!-- DefaultQueueJNDIContext -->
  |          <arg type="java.lang.String" value="/queue" />
  |          <!-- DefaultTopicJNDIContext -->
  |          <arg type="java.lang.String" value="/topic" />
  |       </constructor>
  | 
  |       <depends optional-attribute-name="PersistenceManager">jboss.messaging:service=PersistenceManager</depends>
  |       <depends optional-attribute-name="MessageStore">jboss.messaging:service=MessageStore</depends>
  |       <depends optional-attribute-name="ChannelMapper">jboss.messaging:service=ChannelMapper</depends>
  | 
  |       <!-- Set to -1 to completely disable client leasing -->
  |       <attribute name="SecurityDomain">java:/jaas/messaging</attribute>
  |       <attribute name="DefaultSecurityConfig">
  |         <security>
  |             <role name="guest" read="true" write="true" create="true"/>
  |         </security>
  |       </attribute>
  |    </mbean>
  | 
  | 
  | 





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

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



More information about the jboss-user mailing list