| 2180 |
asteen |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 |
|
|
|
3 |
<!-- $Id: uil2-service.xml,v 1.1.2.3 2003/10/14 16:41:27 patriot1burke Exp $ -->
|
|
|
4 |
|
|
|
5 |
<server>
|
|
|
6 |
|
|
|
7 |
<!-- JBossMQ using the Unified Invocation Layer
|
|
|
8 |
All communication uses one socket connection -->
|
|
|
9 |
|
|
|
10 |
<mbean code="org.jboss.mq.il.uil2.UILServerILService"
|
|
|
11 |
name="jboss.mq:service=InvocationLayer,type=UIL2">
|
|
|
12 |
<depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
|
|
|
13 |
<attribute name="ConnectionFactoryJNDIRef">UIL2ConnectionFactory</attribute>
|
|
|
14 |
<attribute name="XAConnectionFactoryJNDIRef">UIL2XAConnectionFactory</attribute>
|
|
|
15 |
<attribute name="BindAddress">${jboss.bind.address}</attribute>
|
|
|
16 |
<attribute name="ServerBindPort">8093</attribute>
|
|
|
17 |
<attribute name="PingPeriod">60000</attribute>
|
|
|
18 |
<attribute name="EnableTcpNoDelay">true</attribute>
|
|
|
19 |
<!-- Used to disconnect the client if there is no activity -->
|
|
|
20 |
<!-- Ensure this is greater than the ping period -->
|
|
|
21 |
<attribute name="ReadTimeout">70000</attribute>
|
|
|
22 |
<!-- The size of the buffer (in bytes) wrapping the socket -->
|
|
|
23 |
<!-- The buffer is flushed after each request -->
|
|
|
24 |
<attribute name="BufferSize">2048</attribute>
|
|
|
25 |
<!-- Large messages may block the ping/pong -->
|
|
|
26 |
<!-- A pong is simulated after each chunk (in bytes) for both reading and writing -->
|
|
|
27 |
<!-- It must be larger than the buffer size -->
|
|
|
28 |
<attribute name="ChunkSize">1000000</attribute>
|
|
|
29 |
</mbean>
|
|
|
30 |
|
|
|
31 |
<!-- Aliases UIL -> UIL2 for backwards compatibility
|
|
|
32 |
the deprecated UIL deployment can be found in docs/examples/jca -->
|
|
|
33 |
<mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UIL">
|
|
|
34 |
<attribute name="FromName">UILConnectionFactory</attribute>
|
|
|
35 |
<attribute name="ToName">UIL2ConnectionFactory</attribute>
|
|
|
36 |
</mbean>
|
|
|
37 |
<mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UILXA">
|
|
|
38 |
<attribute name="FromName">UILXAConnectionFactory</attribute>
|
|
|
39 |
<attribute name="ToName">UIL2XAConnectionFactory</attribute>
|
|
|
40 |
</mbean>
|
|
|
41 |
|
|
|
42 |
</server>
|