1
<?xml version="1.0" encoding="UTF-8"?>
4
<!-- ======================================================== -->
5
<!-- Example JBoss Remoting Service Configuration file -->
6
<!-- ======================================================== -->
9
<!-- NOTE: set this up to the path where your libraries are -->
10
<classpath codebase="lib"
13
<mbean code="org.jboss.remoting.network.NetworkRegistry"
14
name="jboss.remoting:service=NetworkRegistry"/>
16
<!-- MBean Server Invocation Handler -->
17
<mbean code="org.jboss.test.remoting.handler.mbean.MBeanHandler"
18
name="test:type=handler"/>
21
<mbean code="org.jboss.remoting.transport.Connector"
22
xmbean-dd="org/jboss/remoting/transport/Connector.xml"
23
name="jboss.remoting:service=Connector,transport=Socket"
24
display-name="Socket transport Connector">
26
<!-- Can either just specify the InvokerLocator attribute and not the invoker element in the -->
27
<!-- Configuration attribute, or do the full invoker configuration in the in invoker element -->
28
<!-- of the Configuration attribute. -->
30
<!-- Remember that if you do use more than one param on the uri, will have to include as a CDATA, -->
31
<!-- otherwise, parser will complain. -->
32
<!-- <attribute name="InvokerLocator"><![CDATA[socket://${jboss.bind.address}:8084/?enableTcpNoDelay=false&clientMaxPoolSize=30]]></attribute>-->
34
<attribute name="Configuration">
36
<invoker transport="socket">
37
<attribute name="numAcceptThreads">1</attribute>
38
<attribute name="maxPoolSize">303</attribute>
39
<attribute name="clientMaxPoolSize" isParam="true">304</attribute>
40
<attribute name="socketTimeout">60000</attribute>
41
<attribute name="serverBindAddress">${jboss.bind.address}</attribute>
42
<attribute name="serverBindPort">5400</attribute>
43
<!-- <attribute name="clientConnectAddress">216.23.33.2</attribute> -->
44
<!-- <attribute name="clientConnectPort">7777</attribute> -->
45
<attribute name="enableTcpNoDelay" isParam="true">false</attribute>
46
<attribute name="backlog">200</attribute>
49
<handler subsystem="test">test:type=handler</handler>
56
<mbean code="org.jboss.remoting.detection.multicast.MulticastDetector"
57
name="jboss.remoting:service=Detector,transport=multicast">
58
<!-- you can specifically bind the detector to a specific IP address here
59
<attribute name="BindAddress">${jboss.bind.address}</attribute>
61
<attribute name="Port">2410</attribute>