Hi Mandy
On 10/04/14 08:40, Mandy Warren wrote:
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?
I use "use.async.http.conduit" in tests, as far as I recall Dan
explained that the 2nd option was an alternative option, possibly for
setting it up at the HttpConduit level directly
Lastly, is there an easy way to prove that HttpAsyncClient is being used at
runtime? eg. logging some value of the conduit?
I prove it indirectly, for example, HttpConduit does not support sending
DELETE with the request body and does not support custom HTTP verbs, so
the passing tests for these cases confirm it for me :-)
Cheers, Sergey
Many thanks
Mandy