[jboss-user] [JBoss Messaging] - Re: Equivalent of null persistence in Jboss Messaging

vasu_suku@yahoo.com do-not-reply at jboss.com
Wed Oct 18 01:50:45 EDT 2006


<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <!--
  |      Null persistence deployment descriptor.
  | 
  |     
  |  -->
  | 
  | <server>
  | 
  |    <mbean code="org.jboss.messaging.core.plugin.NullPersistenceManager"
  |       name="jboss.messaging:service=PersistenceManager"
  |       xmbean-dd="xmdesc/NullPersistenceManager-xmbean.xml">
  |  
  |    </mbean>
  | 
  |      
  |    
  | </server>



============================================

NullPersistenceManager-xbean.xml


  | <?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">
  | 
  | 
  | 
  | <mbean>
  |    <description>A Null persistence manager</description>
  |    <class>org.jboss.messaging.core.plugin.NullPersistenceManager</class>
  | 
  |    <!-- Managed constructors -->
  | 
  |    <!-- Managed attributes -->
  | 
  |    <attribute access="read-only" getMethod="getInstance">
  |       <description>The instance to plug into the server peer</description>
  |       <name>Instance</name>
  |       <type>java.lang.Object</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>


====================================

This removes the incomplete deployment:

Is this the right implementation? Am i missing anything

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

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



More information about the jboss-user mailing list