User: chirino
Date: 02/01/08 16:29:48
Modified: src/xdocs jbossjms.xml
Log:
Updated docs to reflect recent changes in setup of durable subscription MDBs
Revision Changes Path
3.1 +15 -15 manual/src/xdocs/jbossjms.xml
Index: jbossjms.xml
===================================================================
RCS file: /cvsroot/jboss/manual/src/xdocs/jbossjms.xml,v
retrieving revision 3.0
retrieving revision 3.1
diff -u -r3.0 -r3.1
--- jbossjms.xml 2001/11/18 20:10:57 3.0
+++ jbossjms.xml 2002/01/09 00:29:47 3.1
@@ -3,7 +3,7 @@
<!-- For standalone validation, uncomment the following DOCTYPE declaration. -->
<!-- DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"../../../thirdparty/oasis/docbook-xml/docbookx.dtd" -->
-<!-- Version: $Id: jbossjms.xml,v 3.0 2001/11/18 20:10:57 gropi Exp $ -->
+<!-- Version: $Id: jbossjms.xml,v 3.1 2002/01/09 00:29:47 chirino Exp $ -->
<chapter id="jms">
@@ -1101,7 +1101,7 @@
* <p><b>NOTE</b>This code is a showcase only. It may not provide
* a stable production example.</p>
* @author Peter Antman
- * @version $Revision: 3.0 $
+ * @version $Revision: 3.1 $
*/
public class HelloPublisher {
@@ -1406,7 +1406,7 @@
* a stable production example.</p>
*
* @author Peter Antman
- * @version $Revision: 3.0 $
+ * @version $Revision: 3.1 $
*/
public class HelloSubscriber implements MessageListener {
@@ -2000,7 +2000,7 @@
<destination-jndi-name>topic/testTopic</destination-jndi-name>
<mdb-user>john</mdb-user>
<mdb-passwd>needle</mdb-passwd>
- <mdb-client-id>DurableSubscriberExample</mdb-client-id>
+ <mdb-subscriber-id>DurableSubscriberExample</mdb-subscriber-id>
</message-driven>
</enterprise-beans>
</jboss>
@@ -2114,7 +2114,7 @@
* Created: Thu Jul 26 13:20:32 2001
*
* @author Peter Antman
- * @version $Revision: 3.0 $ $Date: 2001/11/18 20:10:57 $
+ * @version $Revision: 3.1 $ $Date: 2002/01/09 00:29:47 $
*/
public class HelloMDB implements MessageDrivenBean, MessageListener {
@@ -2314,7 +2314,7 @@
* Created: Thu Jul 26 16:02:46 2001
*
* @author Peter Antman
- * @version $Revision: 3.0 $ $Date: 2001/11/18 20:10:57 $
+ * @version $Revision: 3.1 $ $Date: 2002/01/09 00:29:47 $
*/
public interface HelloWorkerHome extends EJBHome {
@@ -2341,7 +2341,7 @@
* Created: Thu Jul 26 15:50:06 2001
*
* @author Peter Antman
- * @version $Revision: 3.0 $ $Date: 2001/11/18 20:10:57 $
+ * @version $Revision: 3.1 $ $Date: 2002/01/09 00:29:47 $
*/
public interface HelloWorker extends EJBObject {
@@ -2373,7 +2373,7 @@
* destination to which the MDB is configured as a subscriber.
*
* @author Peter Antman
- * @version $Revision: 3.0 $
+ * @version $Revision: 3.1 $
*/
public class HelloWorkerBean implements SessionBean {
@@ -2479,7 +2479,7 @@
* Created: Thu Jul 26 13:20:32 2001
*
* @author Peter Antman
- * @version $Revision: 3.0 $ $Date: 2001/11/18 20:10:57 $
+ * @version $Revision: 3.1 $ $Date: 2002/01/09 00:29:47 $
*/
public class HelloListener implements MessageDrivenBean, MessageListener {
@@ -3087,7 +3087,7 @@
]]></programlisting>
</figure>
- <para>It is also possible to use a user name and a
password (configurable in <filename>conf/default/jbossmq.xml</filename>) to log in to
JBossMQ. If you have specified a <literal>Durable</literal> topic, they are required,
optional otherwise. If a user is specified, one has to specify also a client ID. Using
one of the pre-defined values in <filename>jbossmq.xml</filename> we could have a
deployment descriptor looking like this:</para>
+ <para>It is also possible to use a user name and a
password (configurable in <filename>conf/default/jbossmq.xml</filename>) to log in to
JBossMQ. If you have specified a <literal>Durable</literal> topic, they are required
along with the subscription Id that identifies the durable subsripition that will be
used. Using one of the pre-defined values in <filename>jbossmq.xml</filename> we
could have a deployment descriptor looking like this:</para>
<figure>
<title>Example <filename>jboss.xml</filename>
for MDB with durable subscription</title>
@@ -3098,7 +3098,7 @@
<destination-jndi-name>topic/testTopic</destination-jndi-name>
<mdb-user>john</mdb-user>
<mdb-passwd>needle</mdb-passwd>
- <mdb-client-id>DurableSubscriberExample</mdb-client-id>
+ <mdb-subscriber-id>DurableSubscriberExample</mdb-subscriber-id>
</message-driven>
]]></programlisting>
@@ -3492,7 +3492,7 @@
* and the TopicSession to the JDBC Connection.
*
* @author Peter Antman
- * @version $Revision: 3.0 $
+ * @version $Revision: 3.1 $
*/
public class TopicHelloBean implements SessionBean {
@@ -3652,7 +3652,7 @@
* Remote interface for Hello bean.
*
* @author Peter Antman
- * @version $Revision: 3.0 $
+ * @version $Revision: 3.1 $
*/
public interface Hello extends EJBObject {
@@ -3680,7 +3680,7 @@
* Home interface for Hello bean.
*
* @author Peter Antman
- * @version $Revision: 3.0 $
+ * @version $Revision: 3.1 $
*/
public interface HelloHome extends EJBHome {
@@ -3709,7 +3709,7 @@
* (which does JMS through the resource adapter).
*
* @author Peter Antman
- * @version $Revision: 3.0 $
+ * @version $Revision: 3.1 $
*/
public class HelloClient
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development