Hi Dan,

 I tried the interceptor like you said and it seems to work. Just have the
ff. concerns:

1. Is HttpConduit shared by all clients ? Like if I set a timeout like
below, will it overwrite the timeout setting of other clients accessing same
endpoint ?

   HTTPClientPolicy httpPolicy = createHttpPolicy();
   HTTPConduit conduit = getHTTPConduit(client);
   conduit.setClient(httpPolicy);
   conduit.getClient().setReceiveTimeout(receiveTimeoutInMillis);


2. Using the interceptor, if I apply a timeout using
msg.put(Message.RECEIVE_TIMEOUT, ..)  on one operation, will it overwrite
the timeout for other operations of the service ? Is this approach thread
safe?

I want each operation to have separate timeout values.

Thanks,
Berns


--
View this message in context: 
http://cxf.547215.n5.nabble.com/Setting-Http-conduit-using-spring-configuration-file-tp2644363p4287702.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to