Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16805

[GSS](7.2.z) Default heartbeat / read-timeout / write-timeout for all connections in wildfly-config.xml

    XMLWordPrintable

Details

    Description

      Default heartbeat / read-timeout / write-timeout for all connections

      To set the heartbeat, the wildfly-config.xml is needed, but for auto connections where the host are not static, it should have a default that will apply to all since it cannot be configured in the InitialContext properties.

      The heartbeat & timeouts can be set per connection, but if the connection is established via new InitialContext(host/port/user/pass) , then we need the heartbeat to be configurable without specifying the host since it is dynamic.

      <?xml version="1.0" encoding="UTF-8"?>
      <configuration>
          <endpoint xmlns="urn:jboss-remoting:5.0">
              <connections>
                  <connection destination="remote+http://host:8080" read-timeout="20000" write-timeout="20000" heartbeat-interval="10000"/>
              </connections>
          </endpoint>
      </configuration> 
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tmiyargi Teresa Miyar Gil (Inactive)
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: