Version 4

    RMIConnectionFactory Configuration

     

    JBossMQ connector using a two RMI connections between the server and the client.

     

    The configuration can be found in rmi-service.xml

    In older versions of JBoss it was in jbossmq-service.xml

     

    3.2.4 changes

    In the default configuration of 3.2.4, UIL2 is the only external client connector, all other

    connection factories reference this one.

     

    Stateless Connection

    The connection is stateless. There is no way for this service to detect the client has crashed, use the ClientMonitorInterceptor? and set the ping period to do this.

     

    Default Configuration

      <mbean code="org.jboss.mq.il.rmi.RMIServerILService"
          name="jboss.mq:service=InvocationLayer,type=RMI">
          <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
        <attribute name="ConnectionFactoryJNDIRef">RMIConnectionFactory</attribute>
        <attribute name="XAConnectionFactoryJNDIRef">RMIXAConnectionFactory</attribute>
        <attribute name="PingPeriod">60000</attribute>
      </mbean>
    

     

    Configurable Attributes

    • Invoker - the ObjectName of the interceptor chain that leads to the JMSDestinationManager

    • ConnectionFactoryJNDIRef - the jndi binding - default RMIConnectionFactory

    • XAConnectionFactoryJNDIRef - the jndi binding of the XA connection factory - default RMIXAConnectionFactory

    • PingPeriod - the period after which a ping is sent to the server, if the server does not pong within a further PingPeriod a connection failure is reported to any ExceptionListener

    • ClientID - the fixed ClientID for this connection factory