Class RabbitConnectionFactoryConfig.RpcConfiguration

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long DEFAULT_TIMEOUT_SECONDS
      The default timeout before cancelling an RPC call.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.time.Duration> getTimeout()  
      void setTimeout​(java.time.Duration timeout)
      Sets the timeout duration before cancelling an RPC call.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_TIMEOUT_SECONDS

        public static final long DEFAULT_TIMEOUT_SECONDS
        The default timeout before cancelling an RPC call.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RpcConfiguration

        public RpcConfiguration()
    • Method Detail

      • getTimeout

        public java.util.Optional<java.time.Duration> getTimeout()
        Returns:
        The timeout duration before cancelling an RPC call.
      • setTimeout

        public void setTimeout​(@Nullable
                               java.time.Duration timeout)
        Sets the timeout duration before cancelling an RPC call. Default 10L seconds.
        Parameters:
        timeout - The timeout