Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-309

Add attributes to "RemoteConnectionFactory" to make it ready for failover in HA profiles

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 8.0.0.Alpha1
    • None
    • JMS
    • None

    Description

      At this moment "RemoteConnectionFactory" configured in messaging subsystem in standalone-full-ha.xml or domain.xml in "full-ha" profile is not ready to failover by default. Please change:

      <connection-factory name="RemoteConnectionFactory">
      <connectors>
      <connector-ref connector-name="netty"/>
      </connectors>
      <entries>
      <entry name="java:jboss/exported/jms/RemoteConnectionFactory"/>
      </entries>
      </connection-factory>

      to:
      <connection-factory name="RemoteConnectionFactory">
      <connectors>
      <connector-ref connector-name="netty"/>
      </connectors>
      <entries>
      <entry name="java:jboss/exported/jms/RemoteConnectionFactory"/>
      </entries>
      <ha>true</ha>
      <block-on-acknowledge>true</block-on-acknowledge>
      <retry-interval>1000</retry-interval>
      <retry-interval-multiplier>1.0</retry-interval-multiplier>
      <reconnect-attempts>-1</reconnect-attempts>
      </connection-factory>
      This will guarantee that clients using this connection factory will failover to backup.

      Attachments

        Activity

          People

            jmesnil1@redhat.com Jeff Mesnil
            jmesnil1@redhat.com Jeff Mesnil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: