Class Keepalive
java.lang.Object
com.adaptris.core.jms.solace.parameters.Keepalive
- All Implemented Interfaces:
Parameter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(com.solacesystems.jms.SolConnectionFactory cf) 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.This property is used to specify the interval between keep alives in milliseconds.This property is used to enable/disable keep alives.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.void
setKeepAliveIntervalInMillis
(Integer keepAliveIntervalInMillis) This property is used to specify the interval between keep alives in milliseconds.void
setKeepAlives
(Boolean keepAlives) This property is used to enable/disable keep alives.
-
Constructor Details
-
Keepalive
public Keepalive()
-
-
Method Details
-
apply
public void apply(com.solacesystems.jms.SolConnectionFactory cf) -
getKeepAlives
This property is used to enable/disable keep alives. -
setKeepAlives
This property is used to enable/disable keep alives. -
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
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
This property is used to specify the interval between keep alives in milliseconds. -
setKeepAliveIntervalInMillis
This property is used to specify the interval between keep alives in milliseconds.
-