User: hiram   
  Date: 00/12/27 14:46:03

  Modified:    src/etc/conf/default spyderMQ.properties jboss.jcml
  Added:       src/etc/conf/default spyderMQ.xml
  Log:
  Bringing spyderMQ up to version 0.6.  Added the MDB support for it that Peter had 
implemented.
  
  Revision  Changes    Path
  1.3       +0 -29     jboss/src/etc/conf/default/spyderMQ.properties
  
  Index: spyderMQ.properties
  ===================================================================
  RCS file: /products/cvs/ejboss/jboss/src/etc/conf/default/spyderMQ.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- spyderMQ.properties       2000/12/18 10:20:10     1.2
  +++ spyderMQ.properties       2000/12/27 22:46:02     1.3
  @@ -1,32 +1,3 @@
  -# Those are the physical topics known by the server
  -
  -knownTopics = metrics, beancache
  -
  -# Those are the physical queues known by the server
  -
  -knownQueues = testQueue
  -
  -# Those are the users:password:clientID known by the server
  -
  -knownIds = john:needle:johnClientID, sahra:spot
  -
  -# Classnames for the invocation layer
  -
  -DistributedTopicConnectionFactoryClassName = 
org.spydermq.distributed.server.DistributedTopicConnectionFactoryRMIImpl
  -DistributedQueueConnectionFactoryClassName = 
org.spydermq.distributed.server.DistributedQueueConnectionFactoryRMIImpl
  -
  -ConnectionReceiverClassName = org.spydermq.distributed.server.ConnectionReceiverOIL
  -#ConnectionReceiverClassName = 
org.spydermq.distributed.server.ConnectionReceiverRMIImpl
  -
  -DistributedJMSServerClassName = 
org.spydermq.distributed.server.DistributedJMSServerOIL
  -#DistributedJMSServerClassName = 
org.spydermq.distributed.server.DistributedJMSServerRMIImpl
  -
   # [Log level] valid values are : LOG_EVERYTHING, LOG_NOTICE, LOG_ERRORS
   LogLevel = LOG_ERRORS
  -
  -# By default the server startup logic will start a JNDI server (JNP).
  -# You may not want it to, ie., you already have one running. To
  -# prevent the launch set the following variable to any non-null value.
  -
  -DoNotStartJNDI = yo
   
  
  
  
  1.10      +11 -1     jboss/src/etc/conf/default/jboss.jcml
  
  Index: jboss.jcml
  ===================================================================
  RCS file: /products/cvs/ejboss/jboss/src/etc/conf/default/jboss.jcml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- jboss.jcml        2000/12/18 10:19:14     1.9
  +++ jboss.jcml        2000/12/27 22:46:02     1.10
  @@ -113,8 +113,18 @@
       <attribute name="Configuration">file URL to jetty.xml e.g. 
file:/usr/local/jboss/dist/conf/default/jetty.xml</attribute>
     </mbean>
      -->
  -   
  +  
  +  <!-- For Message Driven Beans -->
     <mbean code="org.jboss.spydermq.SpyderMQService" 
name="DefaultDomain:service=SpyderMQ" />
  +  <mbean code="org.jboss.jms.jndi.JMSProviderLoader" 
name=":service=JMSProviderLoader,name=SpyderMQProvider">
  +    <attribute name="ProviderName">SpyderMQProvider</attribute>
  +    <attribute 
name="ProviderAdapterClass">org.jboss.jms.jndi.SpyderMQProvider</attribute>
  +  </mbean>
  +  <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader" 
name=":service=ServerSessionPoolMBean,name=StdJMSPool">
  +    <attribute name="PoolName">StdJMSPool</attribute>
  +    <attribute 
name="PoolFactoryClass">org.jboss.jms.asf.StdServerSessionPoolFactory</attribute>
  +  </mbean>
  +
   
     <!-- Make sure you change EmbeddedTomcat to Jetty if you are using Jetty  -->
     <mbean code="org.jboss.deployment.J2eeDeployer" name="J2EE:service=J2eeDeployer">
  
  
  
  1.1                  jboss/src/etc/conf/default/spyderMQ.xml
  
  Index: spyderMQ.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF8"?>
  
  <Server>
  
        <!-- Setup the persistence settings -->
        <PersistenceManager>
                <DataDirectory>../../spyderMQ/</DataDirectory>
        </PersistenceManager>
  
        <!-- The physical topics known by the server -->
        <Topic><Name>testTopic</Name></Topic>
        <Topic><Name>example</Name></Topic>
        <Topic><Name>bob</Name></Topic>
  
        <!-- The physical queues known by the server -->
        <Queue><Name>testQueue</Name></Queue>
        <Queue><Name>controlQueue</Name></Queue>
        <Queue><Name>A</Name></Queue>
        <Queue><Name>B</Name></Queue>
        <Queue><Name>C</Name></Queue>
        <Queue><Name>D</Name></Queue>
        <Queue><Name>E</Name></Queue>
        <Queue><Name>ex</Name></Queue>
  
        <!-- The users known by the server -->
        <UserManager>
                <User>
                        <Name>john</Name>
                        <Password>needle</Password>
                        <Id>DurableSubscriberExample</Id>
                </User>
                <User>
                        <Name>sahra</Name>
                        <Password>spot</Password>
                </User>
        </UserManager>
  
        <!-- The invokation layers the server will expose -->
        <InvocationLayer>
                <Name>OIL</Name>
                
<TopicConnectionFactoryJNDI>TopicConnectionFactory</TopicConnectionFactoryJNDI>
                
<QueueConnectionFactoryJNDI>QueueConnectionFactory</QueueConnectionFactoryJNDI>
                
<XATopicConnectionFactoryJNDI>XATopicConnectionFactory</XATopicConnectionFactoryJNDI>
                
<XAQueueConnectionFactoryJNDI>XAQueueConnectionFactory</XAQueueConnectionFactoryJNDI>
                
<ReceiverClass>org.spydermq.distributed.server.ConnectionReceiverOIL</ReceiverClass>
                
<ServerClass>org.spydermq.distributed.server.DistributedJMSServerOIL</ServerClass>
        </InvocationLayer>
        <InvocationLayer>
                <Name>UIL</Name>
                
<TopicConnectionFactoryJNDI>UILTopicConnectionFactory</TopicConnectionFactoryJNDI>
                
<QueueConnectionFactoryJNDI>UILQueueConnectionFactory</QueueConnectionFactoryJNDI>
                
<XATopicConnectionFactoryJNDI>UILXATopicConnectionFactory</XATopicConnectionFactoryJNDI>
                
<XAQueueConnectionFactoryJNDI>UILXAQueueConnectionFactory</XAQueueConnectionFactoryJNDI>
                
<ReceiverClass>org.spydermq.distributed.server.ConnectionReceiverUIL</ReceiverClass>
                
<ServerClass>org.spydermq.distributed.server.DistributedJMSServerUIL</ServerClass>
        </InvocationLayer>
        <InvocationLayer>
                <Name>RMI</Name>
                
<TopicConnectionFactoryJNDI>RMITopicConnectionFactory</TopicConnectionFactoryJNDI>
                
<QueueConnectionFactoryJNDI>RMIQueueConnectionFactory</QueueConnectionFactoryJNDI>
                
<XATopicConnectionFactoryJNDI>RMIXATopicConnectionFactory</XATopicConnectionFactoryJNDI>
                
<XAQueueConnectionFactoryJNDI>RMIXAQueueConnectionFactory</XAQueueConnectionFactoryJNDI>
                
<ReceiverClass>org.spydermq.distributed.server.ConnectionReceiverRMIImpl</ReceiverClass>
                
<ServerClass>org.spydermq.distributed.server.DistributedJMSServerRMIImpl</ServerClass>
        </InvocationLayer>
        
  </Server>
  
  
  
  

Reply via email to