User: chirino
Date: 01/08/30 22:02:22
Modified: src/xdocs jbossjms.xml
Log:
A few ajustments to the PM JMS section
Revision Changes Path
1.2 +129 -129 manual/src/xdocs/jbossjms.xml
Index: jbossjms.xml
===================================================================
RCS file: /cvsroot/jboss/manual/src/xdocs/jbossjms.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jbossjms.xml 2001/08/29 09:19:36 1.1
+++ jbossjms.xml 2001/08/31 05:02:22 1.2
@@ -2,7 +2,7 @@
<!-- edited with XML Spy v3.5 NT (http://www.xmlspy.com) by na (na) -->
<!--DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"docbookx/docbookx.dtd"/-->
<!--for standalone validation uncomment the DOCTYPE declaration-->
-<!-- Version: $Revision: 1.1 $ -->
+<!-- Version: $Revision: 1.2 $ -->
<chapter id="jms">
<title>JBoss and JMS</title>
<subtitle>Java Messaging Service in JBoss</subtitle>
@@ -495,13 +495,13 @@
</row>
<row>
<entry>rollinglogged</entry>
- <entry>Fast</entry>
- <entry>Very new.
Needs more testing</entry>
+ <entry>Very
Fast</entry>
+ <entry>Very new</entry>
</row>
<row>
<entry>jdbc</entry>
- <entry>Has jdbc
overhead</entry>
<entry>Should provide
better stability/scaleability</entry>
+ <entry>Has JDBC
overhead</entry>
</row>
<row>
<entry>logged</entry>
@@ -512,137 +512,137 @@
</tgroup>
</table>
<para>Please note that you must have one and only one
PM configured for one instance of the JMS server.</para>
- <section id="jms-jms-adv-config-pm-file">
- <title>Setting up the file PM</title>
- <para>The file PM uses the concept of one file
per persisted message. This method of message persistence is not the most effective
performance wise, but it is very stable.</para>
- <para>The file PM is the default PM that comes
enabled with the a JBoss distribution. If you look at the jboss.jcml you should see a
XML section that looks like:</para>
- <figure>
- <title>Defining the file PM in
jbossmq.xml</title>
- <programlisting><![CDATA[
+ </section>
+ <!--jms-jms-adv-config-pm-->
+ <section id="jms-jms-adv-config-pm-file">
+ <title>Setting up the file PM</title>
+ <para>The file PM uses the concept of one file per
persisted message. This method of message persistence is not the most effective
performance wise, but it is very stable.</para>
+ <para>The file PM is the default PM that comes enabled
with the a JBoss distribution. If you look at the jboss.jcml you should see a XML
section that looks like:</para>
+ <figure>
+ <title>Defining the file PM in
jbossmq.xml</title>
+ <programlisting><![CDATA[
<mbean code="org.jboss.mq.pm.file.PersistenceManager"
name="JBossMQ:service=PersistenceManager">
<attribute name="DataDirectory">../../db/jbossmq/</attribute>
</mbean>
]]></programlisting>
- </figure>
- <para>The file PM allows you to set the
following attributes when setting up the MBean configuration:</para>
- <table>
- <title>Settable MBean attributes of
the file PM</title>
- <tgroup cols="2">
- <thead>
- <row>
-
<entry>Attribute</entry>
-
<entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
-
<entry>DataDirectory</entry>
- <entry>URL to
the directory the PM will use to store it's persitence data files. If relative a URL
is used, it is relative to the jboss.jcml file.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </section>
- <!--jms-jms-adv-config-pm-file-->
- <section id="jms-jms-adv-config-pm-rollinglogged">
- <title>Setting up the rollinglogged PM</title>
- <para>The rollinglogged PM is the newest PM to
the set but it is very promising in the performance it can achive. It ues log files
to persist messages so there is vey little IO overhead need to start writing to a
file.</para>
- <figure>
- <title>Defining the rollinglogged PM
in jbossmq.xml</title>
- <programlisting><![CDATA[
- <mbean code="org.jboss.mq.pm.file.PersistenceManager"
+ </figure>
+ <para>The file PM allows you to set the following
attributes when setting up the MBean configuration:</para>
+ <table>
+ <title>Settable MBean attributes of the file
PM</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+
<entry>Attribute</entry>
+
<entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+
<entry>DataDirectory</entry>
+ <entry>URL to the
directory the PM will use to store it's persitence data files. If relative a URL is
used, it is relative to the jboss.jcml file.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ <!--jms-jms-adv-config-pm-file-->
+ <section id="jms-jms-adv-config-pm-rollinglogged">
+ <title>Setting up the rollinglogged PM</title>
+ <para>The rollinglogged PM is the newest PM to the set
but it is very promising in the performance it can achive. It ues log files to
persist messages so there is vey little IO overhead need to start writing to a
file.</para>
+ <figure>
+ <title>Defining the rollinglogged PM in
jbossmq.xml</title>
+ <programlisting><![CDATA[
+ <mbean code="org.jboss.mq.pm.rollinglogged.PersistenceManager"
name="JBossMQ:service=PersistenceManager">
<attribute name="DataDirectory">../../db/jbossmq/</attribute>
</mbean>
]]></programlisting>
- </figure>
- <para>The rollinglogged PM allows you to set
the following attributes when setting up the MBean configuration:</para>
- <table>
- <title>Settable MBean attributes of
the rollinglogged PM</title>
- <tgroup cols="2">
- <thead>
- <row>
-
<entry>Attribute</entry>
-
<entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
-
<entry>DataDirectory</entry>
- <entry>URL to
the directory the PM will use to store it's persitence data files. If relative a URL
is used, it is relative to the jboss.jcml file.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </section>
- <!--jms-jms-adv-config-pm-rollinglogged-->
- <section id="jms-jms-adv-config-pm-jdbc">
- <title>Setting up the jdbc PM</title>
- <para>The jdbc PM is uses database table to
store the messages. It uses a JBoss configured DataSource to access the
database.</para>
- <figure>
- <title>Defining the jdbc PM in
jbossmq.xml</title>
- <programlisting><![CDATA[
- <mbean code="org.jboss.mq.pm.file.PersistenceManager"
+ </figure>
+ <para>The rollinglogged PM allows you to set the
following attributes when setting up the MBean configuration:</para>
+ <table>
+ <title>Settable MBean attributes of the
rollinglogged PM</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+
<entry>Attribute</entry>
+
<entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+
<entry>DataDirectory</entry>
+ <entry>URL to the
directory the PM will use to store it's persitence data files. If relative a URL is
used, it is relative to the jboss.jcml file.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ <!--jms-jms-adv-config-pm-rollinglogged-->
+ <section id="jms-jms-adv-config-pm-jdbc">
+ <title>Setting up the jdbc PM</title>
+ <para>The jdbc PM is uses database table to store the
messages. It uses a JBoss configured DataSource to access the database.</para>
+ <figure>
+ <title>Defining the jdbc PM in
jbossmq.xml</title>
+ <programlisting><![CDATA[
+ <mbean code="org.jboss.mq.pm.jdbc.PersistenceManager"
name="JBossMQ:service=PersistenceManager">
- <attribute name="DataDirectory">../../db/jbossmq/</attribute>
+ <attribute name="JmsDBPoolName">DefaultDS</attribute>
</mbean>
]]></programlisting>
- </figure>
- <para>The jdbc PM allows you to set the
following attributes when setting up the MBean configuration:</para>
- <table>
- <title>Settable MBean attributes of
the jdbc PM</title>
- <tgroup cols="2">
- <thead>
- <row>
-
<entry>Attribute</entry>
-
<entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
-
<entry>JmsDBPoolName</entry>
- <entry>The
JNDI name of the datasource to use</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </section>
- <!--jms-jms-adv-config-pm-jdbc-->
- <section id="jms-jms-adv-config-pm-logged">
- <title>Setting up the logged PM</title>
- <para>The logged PM was the original PM. It
was also just a hack to get persistence working. Not recomened to be used.</para>
- <figure>
- <title>Defining the logged PM in
jbossmq.xml</title>
- <programlisting><![CDATA[
- <mbean code="org.jboss.mq.pm.file.PersistenceManager"
+ </figure>
+ <para>The jdbc PM allows you to set the following
attributes when setting up the MBean configuration:</para>
+ <table>
+ <title>Settable MBean attributes of the jdbc
PM</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+
<entry>Attribute</entry>
+
<entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+
<entry>JmsDBPoolName</entry>
+ <entry>The JNDI name
of the datasource to use</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ <!--jms-jms-adv-config-pm-jdbc-->
+ <section id="jms-jms-adv-config-pm-logged">
+ <title>Setting up the logged PM</title>
+ <para>The logged PM was the original PM. It was also
just a hack to get persistence working. Not recomened to be used.</para>
+ <figure>
+ <title>Defining the logged PM in
jbossmq.xml</title>
+ <programlisting><![CDATA[
+ <mbean code="org.jboss.mq.pm.logged.PersistenceManager"
name="JBossMQ:service=PersistenceManager">
<attribute name="DataDirectory">../../db/jbossmq/</attribute>
</mbean>
]]></programlisting>
- </figure>
- <para>The logged PM allows you to set the
following attributes when setting up the MBean configuration:</para>
- <table>
- <title>Settable MBean attributes of
the logged PM</title>
- <tgroup cols="2">
- <thead>
- <row>
-
<entry>Attribute</entry>
-
<entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
-
<entry>DataDirectory</entry>
- <entry>URL to
the directory the PM will use to store it's persitence data files. If relative a URL
is used, it is relative to the jboss.jcml file.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </section>
- <!--jms-jms-adv-config-pm-logged-->
+ </figure>
+ <para>The logged PM allows you to set the following
attributes when setting up the MBean configuration:</para>
+ <table>
+ <title>Settable MBean attributes of the logged
PM</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+
<entry>Attribute</entry>
+
<entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+
<entry>DataDirectory</entry>
+ <entry>URL to the
directory the PM will use to store it's persitence data files. If relative a URL is
used, it is relative to the jboss.jcml file.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
</section>
- <!--jms-jms-adv-config-pm-->
+ <!--jms-jms-adv-config-pm-logged-->
</section>
<!-- jms-jms-adv-config -->
<section id="jms-jms-examples">
@@ -999,7 +999,7 @@
*
* <p><b>NOTE</b>This code is showcase only. It may not provide a stable production
example.</p>
* @author Peter Antman
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class HelloPublisher {
@@ -1192,7 +1192,7 @@
* <p><b>NOTE</b>This code is showcase only. It may not provide a stable production
example.</p>
*
* @author Peter Antman
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
@@ -1821,7 +1821,7 @@
* Created: Thu Jul 26 13:20:32 2001
*
* @author Peter Antman
- * @version $Revision: 1.1 $ $Date: 2001/08/29 09:19:36 $
+ * @version $Revision: 1.2 $ $Date: 2001/08/31 05:02:22 $
*/
public class HelloMDB implements MessageDrivenBean, MessageListener {
@@ -2004,7 +2004,7 @@
* Created: Thu Jul 26 16:02:46 2001
*
* @author Peter Antman
- * @version $Revision: 1.1 $ $Date: 2001/08/29 09:19:36 $
+ * @version $Revision: 1.2 $ $Date: 2001/08/31 05:02:22 $
*/
public interface HelloWorkerHome extends EJBHome {
@@ -2031,7 +2031,7 @@
* Created: Thu Jul 26 15:50:06 2001
*
* @author Peter Antman
- * @version $Revision: 1.1 $ $Date: 2001/08/29 09:19:36 $
+ * @version $Revision: 1.2 $ $Date: 2001/08/31 05:02:22 $
*/
public interface HelloWorker extends EJBObject {
@@ -2063,7 +2063,7 @@
*
*
* @author Peter Antman
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class HelloWorkerBean implements SessionBean {
@@ -2154,7 +2154,7 @@
* Created: Thu Jul 26 13:20:32 2001
*
* @author Peter Antman
- * @version $Revision: 1.1 $ $Date: 2001/08/29 09:19:36 $
+ * @version $Revision: 1.2 $ $Date: 2001/08/31 05:02:22 $
*/
public class HelloListener implements MessageDrivenBean, MessageListener {
@@ -3003,7 +3003,7 @@
*
*
* @author Peter Antman
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class TopicHelloBean implements SessionBean {
@@ -3130,7 +3130,7 @@
*
*
* @author Peter Antman
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public interface Hello extends EJBObject {
@@ -3157,7 +3157,7 @@
*
*
* @author Peter Antman
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public interface HelloHome extends EJBHome {
Hello create() throws RemoteException, CreateException;
@@ -3184,7 +3184,7 @@
*
*
* @author Peter Antman
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class HelloClient
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development