Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Query about asynchronous-client-http-transport

$
0
0
Hi,

Reading the page https://cxf.apache.org/docs/asynchronous-client-http-transport.html I am a little confused as to the difference between the org.apache.cxf.transport.http.async.usePolicy and use.async.http.conduit properties?

To ensure I use the async transport for both sync and async calls do I need to set use.async.http.conduit=true AND set org.apache.cxf.transport.http.async.usePolicy=ALWAYS or is it enough to just set use.async.http.conduit=true?

Lastly, is there an easy way to prove that HttpAsyncClient is being used at runtime? eg. logging some value of the conduit?

Many thanks

Mandy

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images