Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE mbean PUBLIC
      "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
      "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">

<!-- $Id: ConnectionFactory-xmbean.xml 3201 2007-10-19 10:39:50Z timfox $ -->


<mbean>
   <description>A deployable JBoss Messaging Connection Factory</description>
   <class>org.jboss.jms.server.connectionfactory.ConnectionFactory</class>

   <!-- Managed constructors -->

   <constructor>
      <name>ConnectionFactoryService</name>
   </constructor>

   <constructor>
      <name>ConnectionFactoryService</name>
      <parameter>
         <name>ClientID</name>
         <type>java.lang.String</type>
      </parameter>
   </constructor>

   <!-- Managed attributes -->

   <attribute access="read-only" getMethod="getClientID">
      <description>The connection factory client identifier</description>
      <name>ClientID</name>
      <type>java.lang.String</type>
   </attribute>

   <!-- This attribute is writable to allow configuring an arbitrary set of JNDI names in the
        queue's service deployment descriptor. Any attempt to change the attribute after
        initialization will be ignored.
   -->
   <attribute access="read-write" getMethod="getJNDIBindings" setMethod="setJNDIBindings">
      <description>The element containing the JNDI bindings this connection factory is to be bound under</description>
      <name>JNDIBindings</name>
      <type>org.w3c.dom.Element</type>
   </attribute>

   <attribute access="read-write" getMethod="getPrefetchSize" setMethod="setPrefetchSize">
      <description>The maximum number of messages that will be prefetched by the client side consumer</description>
      <name>PrefetchSize</name>
      <type>int</type>
   </attribute>
   
   <attribute access="read-write" getMethod="isSlowConsumers" setMethod="setSlowConsumers">
      <description>Does this connection factory create slow consumers? Slow consumers never buffer messages</description>
      <name>SlowConsumers</name>
      <type>boolean</type>
   </attribute>   

   <attribute access="read-write" getMethod="getDefaultTempQueueFullSize" setMethod="setDefaultTempQueueFullSize">
      <description>The default value of paging full size for any temporary queues created for connections from this connection factory</description>
      <name>DefaultTempQueueFullSize</name>
      <type>int</type>
   </attribute>

   <attribute access="read-write" getMethod="getDefaultTempQueuePageSize" setMethod="setDefaultTempQueuePageSize">
      <description>The default value of paging page size for any temporary queues created for connections from this connection factory</description>
      <name>DefaultTempQueuePageSize</name>
      <type>int</type>
   </attribute>

   <attribute access="read-write" getMethod="getDefaultTempQueueDownCacheSize" setMethod="setDefaultTempQueueDownCacheSize">
      <description>The default value of paging down cache size for any temporary queues created for connections from this connection factory</description>
      <name>DefaultTempQueueDownCacheSize</name>
      <type>int</type>
   </attribute>
   
   <attribute access="read-write" getMethod="getDupsOKBatchSize" setMethod="setDupsOKBatchSize">
      <description>The value of the DUPS_OK_ACKNOWLEDGE batch size to use for sessions created from this connection factory</description>
      <name>DupsOKBatchSize</name>
      <type>int</type>
   </attribute>   

   <!-- ServerPeer ObjectName is configured as a dependency optional-attribute-name, this is the
        only reason for this attribute to be writable. Any write attempt on this attribute after
        initialization will be ignored.
   -->
   <attribute access="read-write" getMethod="getServerPeer" setMethod="setServerPeer">
      <description>The ObjectName of the server peer this destination was deployed on</description>
      <name>ServerPeer</name>
      <type>javax.management.ObjectName</type>
   </attribute>

   <attribute access="read-write" getMethod="getConnector" setMethod="setConnector">
      <description>The ObjectName of the remoting connector this destination will use</description>
      <name>Connector</name>
      <type>javax.management.ObjectName</type>
   </attribute>

   <attribute access="read-write" getMethod="isSupportsFailover" setMethod="setSupportsFailover">
      <description>Does this connection factory support transparent failover?</description>
      <name>SupportsFailover</name>
      <type>boolean</type>
   </attribute>
   
   <attribute access="read-write" getMethod="isSupportsLoadBalancing" setMethod="setSupportsLoadBalancing">
      <description>Does this connection factory support internal load balancing on createConnection(...) requests?</description>
      <name>SupportsLoadBalancing</name>
      <type>boolean</type>
   </attribute>   

   <attribute access="read-write" getMethod="getLoadBalancingFactory" setMethod="setLoadBalancingFactory">
      <description>The pluggable load balancing policy factory that is used to decide the next cluster node to create a clustered connection to</description>
      <name>LoadBalancingFactory</name>
      <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="isStrictTck" setMethod="setStrictTck">
      <description>Does this CF support StrictTCK</description>
      <name>StrictTck</name>
      <type>boolean</type>
   </attribute>
   
   <attribute access="read-write" getMethod="isDisableRemotingChecks" setMethod="setDisableRemotingChecks">
      <description>Disable remoting connector parameter sanity checks. There is rarely a good reason to set this to true</description>
      <name>DisableRemotingChecks</name>
      <type>boolean</type>
   </attribute>

   <!-- Managed operations -->

   <operation>
      <description>JBoss Service lifecycle operation</description>
      <name>create</name>
   </operation>

   <operation>
      <description>JBoss Service lifecycle operation</description>
      <name>start</name>
   </operation>

   <operation>
      <description>JBoss Service lifecycle operation</description>
      <name>stop</name>
   </operation>

   <operation>
      <description>JBoss Service lifecycle operation</description>
      <name>destroy</name>
   </operation>

</mbean>
New to GrepCode? Check out our FAQ X