User: chirino
Date: 01/11/13 20:23:27
Modified: src/etc/conf/default jbossmq-service.xml
Log:
Factored out a CacheStore object from the message store. This should lay the
ground work needed so that the MessageCache can use a PM for saving and loading
messages.
Also fixed a small bug in the file PM. It was not properly restoring the message
after a server restart.
Revision Changes Path
1.15 +10 -1 jbossmq/src/etc/conf/default/jbossmq-service.xml
Index: jbossmq-service.xml
===================================================================
RCS file: /cvsroot/jboss/jbossmq/src/etc/conf/default/jbossmq-service.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- jbossmq-service.xml 2001/11/12 17:00:26 1.14
+++ jbossmq-service.xml 2001/11/14 04:23:26 1.15
@@ -7,7 +7,7 @@
<!-- -->
<!-- ===================================================================== -->
-<!-- $Id: jbossmq-service.xml,v 1.14 2001/11/12 17:00:26 charles_chan Exp $ -->
+<!-- $Id: jbossmq-service.xml,v 1.15 2001/11/14 04:23:26 chirino Exp $ -->
<!--
| THis contains the default configuration of jbossmq
@@ -41,6 +41,15 @@
name="JBossMQ:service=MessageCache">
<attribute name="HighMemoryMark">500</attribute>
<attribute name="MaxMemoryMark">600</attribute>
+ <mbean-ref name="CacheStore">JBossMQ:service=CacheStore</mbean-ref>
+ </mbean>
+
+ <!--
+ | The CacheStore decides where to store JBossMQ message that
+ | that the MessageCache has decided to move in secondary storage.
+ -->
+ <mbean code="org.jboss.mq.pm.file.CacheStore"
+ name="JBossMQ:service=CacheStore">
<attribute name="DataDirectory">tmp/jbossmq</attribute>
</mbean>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development