Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

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

<!-- $Id: uil2-service.xml,v 1.1.2.3 2003/10/14 16:41:27 patriot1burke Exp $ -->

<server>

  <!-- JBossMQ using the Unified Invocation Layer
       All communication uses one socket connection -->

  <mbean code="org.jboss.mq.il.uil2.UILServerILService"
         name="jboss.mq:service=InvocationLayer,type=UIL2">
    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
    <attribute name="ConnectionFactoryJNDIRef">UIL2ConnectionFactory</attribute>
    <attribute name="XAConnectionFactoryJNDIRef">UIL2XAConnectionFactory</attribute>
    <attribute name="BindAddress">${jboss.bind.address}</attribute>
    <attribute name="ServerBindPort">8093</attribute>
    <attribute name="PingPeriod">60000</attribute>
    <attribute name="EnableTcpNoDelay">true</attribute>
    <!-- Used to disconnect the client if there is no activity -->
    <!-- Ensure this is greater than the ping period -->
    <attribute name="ReadTimeout">70000</attribute>
    <!-- The size of the buffer (in bytes) wrapping the socket -->
    <!-- The buffer is flushed after each request -->
    <attribute name="BufferSize">2048</attribute>
    <!-- Large messages may block the ping/pong -->
    <!-- A pong is simulated after each chunk (in bytes) for both reading and writing -->
    <!-- It must be larger than the buffer size -->
    <attribute name="ChunkSize">1000000</attribute>
  </mbean>

  <!-- Aliases UIL -> UIL2 for backwards compatibility 
       the deprecated UIL deployment can be found in docs/examples/jca -->
   <mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UIL">
      <attribute name="FromName">UILConnectionFactory</attribute>
      <attribute name="ToName">UIL2ConnectionFactory</attribute>
   </mbean>
   <mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UILXA">
      <attribute name="FromName">UILXAConnectionFactory</attribute>
      <attribute name="ToName">UIL2XAConnectionFactory</attribute>
   </mbean>

</server>