User: hiram   
  Date: 00/12/12 16:34:07

  Modified:    conf/default spyderMQ.properties jboss.dependencies
  Added:       conf/default spyderMQ.xml
  Log:
  The spyderMQ server now loads it's configuration via an XML file.
  The XML file allows us to configure the server for  multiple Invocation layers.
  
  Revision  Changes    Path
  1.3       +0 -30     spyderMQ/conf/default/spyderMQ.properties
  
  Index: spyderMQ.properties
  ===================================================================
  RCS file: /products/cvs/ejboss/spyderMQ/conf/default/spyderMQ.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- spyderMQ.properties       2000/12/12 05:58:55     1.2
  +++ spyderMQ.properties       2000/12/13 00:34:06     1.3
  @@ -1,33 +1,3 @@
  -# Those are the physical topics known by the server
  -
  -knownTopics = testTopic, example, bob
  -
  -# Those are the physical queues known by the server
  -
  -knownQueues = testQueue, ex
  -
  -# Those are the users:password:clientID known by the server
  -
  -knownIds = john:needle:johnClientID, sahra:spot
  -
  -# Classnames for the invocation layer
  -
  -DistributedConnectionFactoryClassName = 
org.spydermq.distributed.server.DistributedConnectionFactoryRMIImpl
  -
  -ConnectionReceiverClassName = org.spydermq.distributed.server.ConnectionReceiverOIL
  -#ConnectionReceiverClassName = org.spydermq.distributed.server.ConnectionReceiverUIL
  -#ConnectionReceiverClassName = 
org.spydermq.distributed.server.ConnectionReceiverRMIImpl
  -
  -DistributedJMSServerClassName = 
org.spydermq.distributed.server.DistributedJMSServerOIL
  -#DistributedJMSServerClassName = 
org.spydermq.distributed.server.DistributedJMSServerUIL
  -#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.2       +5 -0      spyderMQ/conf/default/jboss.dependencies
  
  Index: jboss.dependencies
  ===================================================================
  RCS file: /products/cvs/ejboss/spyderMQ/conf/default/jboss.dependencies,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jboss.dependencies        2000/11/29 00:19:44     1.1
  +++ jboss.dependencies        2000/12/13 00:34:06     1.2
  @@ -14,4 +14,9 @@
       <dependency service="Logging" required="true"/>
       <dependency service="Configuration" required="true"/>
     </service>
  +  <service name="SpyderMQ">
  +    <dependency service="Logging" required="true"/>
  +    <dependency service="Configuration" required="true"/>
  +    <dependency service="Naming" required="false"/>
  +  </service>
   </server>
  
  
  
  1.1                  spyderMQ/conf/default/spyderMQ.xml
  
  Index: spyderMQ.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF8"?>
  
  <Server>
  
        <!-- 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 -->
        <User>
                <Name>john</Name>
                <Password>needle</Password>
                <Id>johnclientID</Id>
        </User>
        <User>
                <Name>sahra</Name>
                <Password>spot</Password>
        </User>
  
  
        <!-- The invokation layers the server will expose -->
        <InvocationLayer>
                <Name>OIL</Name>
                
<TopicConnectionFactoryJNDI>TopicConnectionFactory</TopicConnectionFactoryJNDI>
                
<QueueConnectionFactoryJNDI>QueueConnectionFactory</QueueConnectionFactoryJNDI>
                
<ConnectionFactoryClass>org.spydermq.distributed.server.DistributedConnectionFactoryRMIImpl</ConnectionFactoryClass>
                
<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>
                
<ConnectionFactoryClass>org.spydermq.distributed.server.DistributedConnectionFactoryRMIImpl</ConnectionFactoryClass>
                
<ReceiverClass>org.spydermq.distributed.server.ConnectionReceiverUIL</ReceiverClass>
                
<ServerClass>org.spydermq.distributed.server.DistributedJMSServerUIL</ServerClass>
        </InvocationLayer>
        <InvocationLayer>
                <Name>RMI</Name>
                
<TopicConnectionFactoryJNDI>UILTopicConnectionFactory</TopicConnectionFactoryJNDI>
                
<QueueConnectionFactoryJNDI>UILQueueConnectionFactory</QueueConnectionFactoryJNDI>
                
<ConnectionFactoryClass>org.spydermq.distributed.server.DistributedConnectionFactoryRMIImpl</ConnectionFactoryClass>
                
<ReceiverClass>org.spydermq.distributed.server.ConnectionReceiverRMIImpl</ReceiverClass>
                
<ServerClass>org.spydermq.distributed.server.DistributedJMSServerRMIImpl</ServerClass>
        </InvocationLayer>
        
  </Server>
  
  
  
  

Reply via email to