Class Keepalive

java.lang.Object
com.adaptris.core.jms.solace.parameters.Keepalive
All Implemented Interfaces:
Parameter

public class Keepalive extends Object implements Parameter
  • Constructor Details

    • Keepalive

      public Keepalive()
  • Method Details

    • apply

      public void apply(com.solacesystems.jms.SolConnectionFactory cf)
      Specified by:
      apply in interface Parameter
    • getKeepAlives

      public Boolean getKeepAlives()
      This property is used to enable/disable keep alives.
    • setKeepAlives

      public void setKeepAlives(Boolean keepAlives)
      This property is used to enable/disable keep alives.
    • getKeepAliveCountMax

      public Integer getKeepAliveCountMax()
      This property is used to specify the allowed number of consecutive keep-alive messages for which no response is received before the connection is closed by the API.
    • setKeepAliveCountMax

      public void setKeepAliveCountMax(Integer keepAliveCountMax)
      This property is used to specify the allowed number of consecutive keep-alive messages for which no response is received before the connection is closed by the API.
    • getKeepAliveIntervalInMillis

      public Integer getKeepAliveIntervalInMillis()
      This property is used to specify the interval between keep alives in milliseconds.
    • setKeepAliveIntervalInMillis

      public void setKeepAliveIntervalInMillis(Integer keepAliveIntervalInMillis)
      This property is used to specify the interval between keep alives in milliseconds.