root / gss / jboss / deploy / messaging / connection-factories-service.xml @ 09051786
History | View | Annotate | Download (6.2 kB)
1 | 14ad7326 | pastith | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | 14ad7326 | pastith | |
3 | 14ad7326 | pastith | <!--
|
4 | 14ad7326 | pastith | Messaging Connection Factories deployment descriptor.
|
5 | 14ad7326 | pastith | |
6 | 14ad7326 | pastith | $Id: connection-factories-service.xml 3332 2007-11-15 09:32:43Z timfox $
|
7 | 14ad7326 | pastith | -->
|
8 | 14ad7326 | pastith | |
9 | 14ad7326 | pastith | <server>
|
10 | 14ad7326 | pastith | |
11 | 14ad7326 | pastith | <!-- The default connection factory does not support automatic failover or load balancing-
|
12 | 14ad7326 | pastith | this is so we can maintain compatiblity with applications written for JBoss MQ which use this
|
13 | 14ad7326 | pastith | connection factory.
|
14 | 14ad7326 | pastith | -->
|
15 | 14ad7326 | pastith | <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory" |
16 | 14ad7326 | pastith | name="jboss.messaging.connectionfactory:service=ConnectionFactory" |
17 | 14ad7326 | pastith | xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml"> |
18 | 14ad7326 | pastith | <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> |
19 | 14ad7326 | pastith | <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends> |
20 | 14ad7326 | pastith | <depends>jboss.messaging:service=PostOffice</depends> |
21 | 14ad7326 | pastith | |
22 | 14ad7326 | pastith | <attribute name="JNDIBindings"> |
23 | 14ad7326 | pastith | <bindings>
|
24 | 14ad7326 | pastith | <binding>/ConnectionFactory</binding> |
25 | 14ad7326 | pastith | <binding>/XAConnectionFactory</binding> |
26 | 14ad7326 | pastith | <binding>java:/ConnectionFactory</binding> |
27 | 14ad7326 | pastith | <binding>java:/XAConnectionFactory</binding> |
28 | 14ad7326 | pastith | </bindings>
|
29 | 14ad7326 | pastith | </attribute>
|
30 | 14ad7326 | pastith | </mbean>
|
31 | 14ad7326 | pastith | |
32 | 14ad7326 | pastith | <!-- A clustered connection factory that supports automatic failover and load balancing of created
|
33 | 14ad7326 | pastith | connections.
|
34 | 14ad7326 | pastith | This factory is not suitable to be used by MDBs.
|
35 | 14ad7326 | pastith | <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
|
36 | 14ad7326 | pastith | name="jboss.messaging.connectionfactory:service=ClusteredConnectionFactory"
|
37 | 14ad7326 | pastith | xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
|
38 | 14ad7326 | pastith | <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
|
39 | 14ad7326 | pastith | <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends>
|
40 | 14ad7326 | pastith | <depends>jboss.messaging:service=PostOffice</depends>
|
41 | 14ad7326 | pastith | |
42 | 14ad7326 | pastith | <attribute name="JNDIBindings">
|
43 | 14ad7326 | pastith | <bindings>
|
44 | 14ad7326 | pastith | <binding>/ClusteredConnectionFactory</binding>
|
45 | 14ad7326 | pastith | <binding>/ClusteredXAConnectionFactory</binding>
|
46 | 14ad7326 | pastith | <binding>java:/ClusteredConnectionFactory</binding>
|
47 | 14ad7326 | pastith | <binding>java:/ClusteredXAConnectionFactory</binding>
|
48 | 14ad7326 | pastith | </bindings>
|
49 | 14ad7326 | pastith | </attribute>
|
50 | 14ad7326 | pastith | |
51 | 14ad7326 | pastith | <attribute name="SupportsFailover">true</attribute>
|
52 | 14ad7326 | pastith | <attribute name="SupportsLoadBalancing">true</attribute>
|
53 | 14ad7326 | pastith | </mbean>
|
54 | 14ad7326 | pastith | -->
|
55 | 14ad7326 | pastith | |
56 | 14ad7326 | pastith | <!-- A connection factory with no JNDI bindings that is used in clustering to create the connections that
|
57 | 14ad7326 | pastith | pull messages from one node to another
|
58 | 14ad7326 | pastith | <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
|
59 | 14ad7326 | pastith | name="jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory"
|
60 | 14ad7326 | pastith | xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
|
61 | 14ad7326 | pastith | <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
|
62 | 14ad7326 | pastith | <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends>
|
63 | 14ad7326 | pastith | <depends>jboss.messaging:service=PostOffice</depends>
|
64 | 14ad7326 | pastith | <attribute name="SupportsFailover">false</attribute>
|
65 | 14ad7326 | pastith | <attribute name="SupportsLoadBalancing">false</attribute>
|
66 | 14ad7326 | pastith | </mbean>
|
67 | 14ad7326 | pastith | -->
|
68 | 14ad7326 | pastith | |
69 | 14ad7326 | pastith | <!-- An example connection factory with all attributes shown
|
70 | 14ad7326 | pastith |
|
71 | 14ad7326 | pastith | <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
|
72 | 14ad7326 | pastith | name="jboss.messaging.connectionfactory:service=MyExampleConnectionFactory"
|
73 | 14ad7326 | pastith | xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
|
74 | 14ad7326 | pastith |
|
75 | 14ad7326 | pastith | <constructor>
|
76 | 14ad7326 | pastith |
|
77 | 14ad7326 | pastith | <!- - You can specify the default Client ID to use for connections created using this factory - ->
|
78 | 14ad7326 | pastith |
|
79 | 14ad7326 | pastith | <arg type="java.lang.String" value="MyClientID"/>
|
80 | 14ad7326 | pastith |
|
81 | 14ad7326 | pastith | </constructor>
|
82 | 14ad7326 | pastith |
|
83 | 14ad7326 | pastith | <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
|
84 | 14ad7326 | pastith |
|
85 | 14ad7326 | pastith | <!- - The transport to use - can be bisocket, sslbisocket or http - ->
|
86 | 14ad7326 | pastith |
|
87 | 14ad7326 | pastith | <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=http</depends>
|
88 | 14ad7326 | pastith |
|
89 | 14ad7326 | pastith | <depends>jboss.messaging:service=PostOffice</depends>
|
90 | 14ad7326 | pastith |
|
91 | 14ad7326 | pastith | <!- - PrefetchSize determines the approximate maximum number of messages the client consumer will buffer locally - ->
|
92 | 14ad7326 | pastith |
|
93 | 14ad7326 | pastith | <attribute name="PrefetchSize">150</attribute>
|
94 | 14ad7326 | pastith |
|
95 | 14ad7326 | pastith | <!- - Paging params to be used for temporary queues - ->
|
96 | 14ad7326 | pastith |
|
97 | 14ad7326 | pastith | <attribute name="DefaultTempQueueFullSize">200000</attribute>
|
98 | 14ad7326 | pastith |
|
99 | 14ad7326 | pastith | <attribute name="DefaultTempQueuePageSizeSize">2000</attribute>
|
100 | 14ad7326 | pastith |
|
101 | 14ad7326 | pastith | <attribute name="DefaultTempQueueDownCacheSize">2000</attribute>
|
102 | 14ad7326 | pastith |
|
103 | 14ad7326 | pastith | <!- - The batch size to use when using the DUPS_OK_ACKNOWLEDGE acknowledgement mode - ->
|
104 | 14ad7326 | pastith |
|
105 | 14ad7326 | pastith | <attribute name="DupsOKBatchSize">5000</attribute>
|
106 | 14ad7326 | pastith |
|
107 | 14ad7326 | pastith | <!- - Does this connection factory support automatic failover? - ->
|
108 | 14ad7326 | pastith |
|
109 | 14ad7326 | pastith | <attribute name="SupportsFailover">false</attribute>
|
110 | 14ad7326 | pastith |
|
111 | 14ad7326 | pastith | <!- - Does this connection factory support automatic client side load balancing? - ->
|
112 | 14ad7326 | pastith |
|
113 | 14ad7326 | pastith | <attribute name="SupportsLoadBalancing">false</attribute>
|
114 | 14ad7326 | pastith |
|
115 | 14ad7326 | pastith | <!- - The class name of the factory used to create the load balancing policy to use on the client side - ->
|
116 | 14ad7326 | pastith |
|
117 | 14ad7326 | pastith | <attribute name="LoadBalancingFactory">org.jboss.jms.client.plugin.RoundRobinLoadBalancingFactory</attribute>
|
118 | 14ad7326 | pastith | |
119 | 14ad7326 | pastith | <!- - Whether we should be strict TCK compliant, i.e. how we deal with foreign messages, defaults to false- ->
|
120 | 14ad7326 | pastith | |
121 | 14ad7326 | pastith | <attribute name="StrictTck">true</attribute>
|
122 | 14ad7326 | pastith |
|
123 | 14ad7326 | pastith | <!- - Should acknowledgements be sent asynchronously? - ->
|
124 | 14ad7326 | pastith |
|
125 | 14ad7326 | pastith | <attribute name="SendAcksAsync">false</attribute>
|
126 | 14ad7326 | pastith |
|
127 | 14ad7326 | pastith | <!- - Disable JBoss Remoting Connector sanity checks - There is rarely a good reason to set this to true - ->
|
128 | 14ad7326 | pastith |
|
129 | 14ad7326 | pastith | <attribute name="DisableRemotingChecks">false</attribute>
|
130 | 14ad7326 | pastith | |
131 | 14ad7326 | pastith | <!- - The connection factory will be bound in the following places in JNDI - ->
|
132 | 14ad7326 | pastith | |
133 | 14ad7326 | pastith | <attribute name="JNDIBindings">
|
134 | 14ad7326 | pastith |
|
135 | 14ad7326 | pastith | <bindings>
|
136 | 14ad7326 | pastith |
|
137 | 14ad7326 | pastith | <binding>/acme/MyExampleConnectionFactory</binding>
|
138 | 14ad7326 | pastith |
|
139 | 14ad7326 | pastith | <binding>/acme/MyExampleConnectionFactoryDupe</binding>
|
140 | 14ad7326 | pastith |
|
141 | 14ad7326 | pastith | <binding>java:/xyz/CF1</binding>
|
142 | 14ad7326 | pastith |
|
143 | 14ad7326 | pastith | <binding>java:/connectionfactories/acme/connection_factory</binding>
|
144 | 14ad7326 | pastith |
|
145 | 14ad7326 | pastith | </bindings>
|
146 | 14ad7326 | pastith |
|
147 | 14ad7326 | pastith | </attribute>
|
148 | 14ad7326 | pastith |
|
149 | 14ad7326 | pastith | </mbean>
|
150 | 14ad7326 | pastith |
|
151 | 14ad7326 | pastith | -->
|
152 | 14ad7326 | pastith | |
153 | 14ad7326 | pastith | </server> |