Class TimeoutableMessageRequest
- java.lang.Object
-
- com.fifa.connectservicebus.sdk.api.models.TimeoutableMessageRequest
-
public class TimeoutableMessageRequest extends Object
The TimeoutableMessageRequest model.
-
-
Constructor Summary
Constructors Constructor Description TimeoutableMessageRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integertimeout()Get the system will wait N number of seconds before returning "no messages available" message.TimeoutableMessageRequestwithTimeout(Integer timeout)Set the system will wait N number of seconds before returning "no messages available" message.
-
-
-
Method Detail
-
timeout
public Integer timeout()
Get the system will wait N number of seconds before returning "no messages available" message.- Returns:
- the timeout value
-
withTimeout
public TimeoutableMessageRequest withTimeout(Integer timeout)
Set the system will wait N number of seconds before returning "no messages available" message.- Parameters:
timeout- the timeout value to set- Returns:
- the TimeoutableMessageRequest object itself.
-
-