Skip to content
Permalink
Browse files
std api for client executor (we can do it with jaxrs 2.1)
  • Loading branch information
rmannibucau committed May 22, 2018
1 parent d983f47 commit 981f111805ab05691ea6e2c1af9b8c8855a494bf
Showing 1 changed file with 1 addition and 2 deletions.
@@ -52,8 +52,7 @@ public ClientBuilder configure(final ClientBuilder builder, final ExecutorServic
return builder;
}
return builder.register(requestFilter).register(responseFilter)
// todo: reflection for jersey+resteasy to do the same or PR to support that property
.property("executorService" /* cxf */, wrapExecutor(executorService));
.executorService(wrapExecutor(executorService));
}

private ExecutorService wrapExecutor(final ExecutorService executorService) {

0 comments on commit 981f111

Please sign in to comment.