User: d_jencks
  Date: 02/04/06 20:49:47

  Modified:    src/etc/deploy jms-service.xml
  Log:
  fix config so both topics and queues can be used with the same adapter
  
  Revision  Changes    Path
  1.8       +9 -32     jboss/src/etc/deploy/jms-service.xml
  
  Index: jms-service.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/etc/deploy/jms-service.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jms-service.xml   24 Mar 2002 22:03:15 -0000      1.7
  +++ jms-service.xml   7 Apr 2002 04:49:47 -0000       1.8
  @@ -27,38 +27,7 @@
     </mbean>
   
     <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
  -<!--old configuration, see below for new choice.
  -  <mbean code="org.jboss.resource.ConnectionFactoryLoader"
  -         name="jboss.jca:service=ConnectionFactoryLoader,name=JmsXA">
  -    <attribute name="JndiName">JmsXA</attribute>
  -    <depends 
optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=JMS 
Adapter</depends>
  -    <depends 
optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaXACMFactory</depends>
  -    <attribute name="ManagedConnectionFactoryProperties">
  -       SessionDefaultType=javax.jms.Topic
  -       #UserName=guest
  -       #Password=guest
  -     </attribute>
  -    <attribute name="ConnectionManagerProperties">
  -       # Pool type - uncomment to force, otherwise it is the default
  -       #PoolConfiguration=per-factory
  - 
  -       # Connection pooling properties - see
  -       # org.jboss.resource.connectionmanager.PoolParameters
  -       MinSize=0
  -       MaxSize=10
  -       BlockingTimeoutMillis=5000
  -       IdleTimeoutMinutes=30
  -       CleanupIntervalMinutes=10
  -       MaxIdleTimeoutPercent=1.0
  -    </attribute>
   
  -    <attribute name="PrincipalMappingClass">
  -       org.jboss.resource.security.ManyToOnePrincipalMapping
  -    </attribute>
  -    <attribute name="PrincipalMappingProperties">
  -    </attribute>
  -  </mbean>
  --->
     <!--new configuration for new ConnectionManager-->
     <mbean code="org.jboss.resource.connectionmanager.XATxConnectionManager" 
name="jboss.jca:service=JmsXACM">
       <!--make the rar deploy!-->
  @@ -89,7 +58,15 @@
           <attribute name="MaxSize">50</attribute>
           <attribute name="BlockingTimeoutMillis">5000</attribute>
           <attribute name="IdleTimeoutMinutes">15</attribute>
  -        <attribute name="Criteria">ByContainer</attribute>
  +        <!--criteria indicates if Subject (from security domain) or app supplied
  +            parameters (such as from getConnection(user, pw)) are used to 
distinguish
  +            connections in the pool. Choices are 
  +            ByContainerAndApplication (use both), 
  +            ByContainer (use Subject),
  +            ByApplication (use app supplied params only),
  +            ByNothing (all connections are equivalent, usually if adapter supports
  +              reauthentication)-->
  +        <attribute name="Criteria">ByContainerAndApplication</attribute>
         </mbean>
       </depends>
       <depends 
optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to