<?xml version="1.0" encoding="UTF-8"?>

<!-- $Id: oil-service.xml 38188 2005-11-17 00:11:34Z adrian $ -->

<server>

  <!-- JBossMQ communication using the Optimizated Invocation Layer
       The server connects back to the client on a different socket -->

  <mbean code="org.jboss.mq.il.oil.OILServerILService"
	 name="jboss.mq:service=InvocationLayer,type=OIL">
    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
    <attribute name="ConnectionFactoryJNDIRef">OILConnectionFactory</attribute>
    <attribute name="XAConnectionFactoryJNDIRef">OILXAConnectionFactory</attribute>
    <attribute name="ServerBindPort">8090</attribute>
    <attribute name="PingPeriod">60000</attribute>
    <attribute name="EnableTcpNoDelay">true</attribute>
    <attribute name="BindAddress">${jboss.bind.address}</attribute>
    <!-- Used to disconnect the client if there is no activity -->
    <!-- Ensure this is greater than the ping period -->
    <attribute name="ReadTimeout">70000</attribute>
  </mbean>

</server>
