1 <?xml version="1.0" encoding="UTF-8"?>
4 The JBoss Messaging service deployment descriptor.
6 $Id: messaging-service.xml 3880 2008-03-14 15:55:42Z timfox $
11 <!-- ServerPeer MBean configuration
12 ============================== -->
14 <mbean code="org.jboss.jms.server.ServerPeer"
15 name="jboss.messaging:service=ServerPeer"
16 xmbean-dd="xmdesc/ServerPeer-xmbean.xml">
18 <!-- The unique id of the server peer - in a cluster each node MUST have a unique value - must be an integer -->
20 <attribute name="ServerPeerID">${jboss.messaging.ServerPeerID:0}</attribute>
22 <!-- The default JNDI context to use for queues when they are deployed without specifying one -->
24 <attribute name="DefaultQueueJNDIContext">/queue</attribute>
26 <!-- The default JNDI context to use for topics when they are deployed without specifying one -->
28 <attribute name="DefaultTopicJNDIContext">/topic</attribute>
30 <attribute name="PostOffice">jboss.messaging:service=PostOffice</attribute>
32 <!-- The default Dead Letter Queue (DLQ) to use for destinations.
33 This can be overridden on a per destinatin basis -->
35 <attribute name="DefaultDLQ">jboss.messaging.destination:service=Queue,name=DLQ</attribute>
37 <!-- The default maximum number of times to attempt delivery of a message before sending to the DLQ (if configured).
38 This can be overridden on a per destinatin basis -->
40 <attribute name="DefaultMaxDeliveryAttempts">10</attribute>
42 <!-- The default Expiry Queue to use for destinations. This can be overridden on a per destinatin basis -->
44 <attribute name="DefaultExpiryQueue">jboss.messaging.destination:service=Queue,name=ExpiryQueue</attribute>
46 <!-- The default redelivery delay to impose. This can be overridden on a per destination basis -->
48 <attribute name="DefaultRedeliveryDelay">0</attribute>
50 <!-- The periodicity of the message counter manager enquiring on queues for statistics -->
52 <attribute name="MessageCounterSamplePeriod">5000</attribute>
54 <!-- The maximum amount of time for a client to wait for failover to start on the server side after
55 it has detected failure -->
57 <attribute name="FailoverStartTimeout">60000</attribute>
59 <!-- The maximum amount of time for a client to wait for failover to complete on the server side after
60 it has detected failure -->
62 <attribute name="FailoverCompleteTimeout">300000</attribute>
64 <attribute name="StrictTck">false</attribute>
66 <!-- The maximum number of days results to maintain in the message counter history -->
68 <attribute name="DefaultMessageCounterHistoryDayLimit">-1</attribute>
70 <!-- The name of the connection factory to use for creating connections between nodes to pull messages -->
72 <attribute name="ClusterPullConnectionFactoryName">jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory</attribute>
74 <!-- When redistributing messages in the cluster. Do we need to preserve the order of messages received
75 by a particular consumer from a particular producer? -->
77 <attribute name="DefaultPreserveOrdering">false</attribute>
79 <!-- Max. time to hold previously delivered messages back waiting for clients to reconnect after failover -->
81 <attribute name="RecoverDeliveriesTimeout">300000</attribute>
83 <!-- Set to true to enable message counters that can be viewed via JMX -->
85 <attribute name="EnableMessageCounters">false</attribute>
87 <!-- The password used by the message sucker connections to create connections.
88 THIS SHOULD ALWAYS BE CHANGED AT INSTALL TIME TO SECURE SYSTEM
90 <attribute name="SuckerPassword">$uck3r</attribute>
92 <!-- The name of the server aspects configuration resource
93 <attribute name="ServerAopConfig">aop/jboss-aop-messaging-server.xml</attribute>
95 <!-- The name of the client aspects configuration resource
96 <attribute name="ClientAopConfig">aop/jboss-aop-messaging-client.xml</attribute>
99 <depends optional-attribute-name="PersistenceManager">jboss.messaging:service=PersistenceManager</depends>
101 <depends optional-attribute-name="JMSUserManager">jboss.messaging:service=JMSUserManager</depends>
103 <depends>jboss.messaging:service=Connector,transport=bisocket</depends>
104 <depends optional-attribute-name="SecurityStore"
105 proxy-type="org.jboss.jms.server.SecurityStore">jboss.messaging:service=SecurityStore</depends>