Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2180 asteen 1
<?xml version="1.0" encoding="UTF-8"?>
2
 
3
<!-- $Id: jbossmq-service.xml,v 1.10.2.14 2003/08/27 07:44:42 ejort Exp $ -->
4
 
5
<server>
6
 
7
  <!-- ==================================================================== -->
8
  <!-- JBossMQ                                                              -->
9
  <!-- ==================================================================== -->
10
 
11
 
12
  <!-- ==================================================================== -->
13
  <!-- JBossMQ Interceptor chain configuration                              -->
14
  <!-- ==================================================================== -->
15
  <!-- To tune performance, you can have the Invoker skip over the TracingInterceptor -->
16
  <!-- and/or the SecurityManager, but then you loose the ability to trace and/or enforce security. -->
17
  <mbean code="org.jboss.mq.server.jmx.Invoker" name="jboss.mq:service=Invoker">
18
    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=TracingInterceptor</depends>
19
  </mbean>
20
 
21
  <mbean code="org.jboss.mq.server.jmx.InterceptorLoader" name="jboss.mq:service=TracingInterceptor">
22
    <attribute name="InterceptorClass">org.jboss.mq.server.TracingInterceptor</attribute>
23
    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=SecurityManager</depends>
24
  </mbean>
25
 
26
  <mbean code="org.jboss.mq.security.SecurityManager" name="jboss.mq:service=SecurityManager">
27
    <attribute name="DefaultSecurityConfig">
28
      <security>
29
        <role name="guest" read="true" write="true" create="true"/>
30
      </security>
31
    </attribute>
32
    <attribute name="SecurityDomain">jbossmq</attribute>
33
    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=DestinationManager</depends>
34
  </mbean>
35
 
36
  <!--
37
     | The ClientMonitorInterceptor disconnects clients that have been idle for to long.
38
     | This interceptor is not enabled by default since the server might disconnect clients
39
     | when the it is under high load.
40
   -->
41
  <!--
42
  <mbean code="org.jboss.mq.server.jmx.ClientMonitorInterceptor" name="jboss.mq:service=ClientMonitorInterceptor">
43
    <attribute name="ClientTimeout">80000</attribute>
44
    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=ClientReconnectInterceptor</depends>
45
  </mbean>
46
  -->
47
 
48
  <!--
49
    | The ClientReconnectInterceptor is used to allow a client to connect to the server even
50
    | if it's clientID is allready being used by another client.  This interceptor will disconnect
51
    | the previously connected client to allow the new connection to succeed.  This is not enabled
52
    | by default since the JMS spec states that the 2nd client connecting to the server with the same
53
    | id should get an exception.
54
   -->
55
  <!--
56
  <mbean code="org.jboss.mq.server.jmx.InterceptorLoader" name="jboss.mq:service=ClientReconnectInterceptor">
57
    <attribute name="InterceptorClass">org.jboss.mq.server.ClientReconnectInterceptor</attribute>
58
    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=DestinationManager</depends>
59
  </mbean>
60
  -->
61
 
62
  <!-- ==================================================================== -->
63
  <!-- The state manager                                                    -->
64
  <!-- ==================================================================== -->
65
 
66
  <!--
67
     | The StateManager is used to keep JMS persistent state data.
68
     | For example: what durable subscriptions are active.
69
   -->
70
  <mbean code="org.jboss.mq.sm.file.DynamicStateManager"
71
	 name="jboss.mq:service=StateManager">
72
    <!-- This file is pulled from the configuration URL of the server -->
73
    <attribute name="StateFile">jbossmq-state.xml</attribute>
74
  </mbean>
75
 
76
  <!-- ==================================================================== -->
77
  <!-- System Destinations                                                  -->
78
  <!-- ==================================================================== -->
79
 
80
  <!-- Dead Letter Queue -->
81
  <mbean code="org.jboss.mq.server.jmx.Queue"
82
	 name="jboss.mq.destination:service=Queue,name=DLQ">
83
    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
84
    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
85
  </mbean>
86
 
87
</server>