public static class RabbitConnectionFactoryConfig.RpcConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_TIMEOUT_SECONDS
The default timeout before cancelling an RPC call.
|
Constructor and Description |
---|
RpcConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.time.Duration> |
getTimeout() |
void |
setTimeout(java.time.Duration timeout)
Sets the timeout duration before cancelling an RPC call.
|
public static final long DEFAULT_TIMEOUT_SECONDS
public java.util.Optional<java.time.Duration> getTimeout()
public void setTimeout(@Nullable java.time.Duration timeout)
timeout
- The timeout