ghosts321

Results 4 comments of ghosts321

@liubao68 请问服务端超时时间如何配置

public void handle(Invocation invocation, AsyncResponse asyncResp) throws Exception { } 在Invocation和AsyncResponse中没有直接获取请求超时时间的方法,有其他方法能够获取到吗?

@liubao68 在执行RPC请求前后进行一些额外的处理,包括处理超时、将RPC请求提交到业务线程池中执行、处理异常等

> 可以看看 invocation.getOperationMeta().getConfig().getMsRequestTimeout() 不过你的场景貌似用不到这个值。 应该是分别获取生产者和消费者的超时时间,请问有对应的参数吗?