Philippe Mouawad created CXF-5003:
-------------------------------------
Summary: Documentation : Handling client timeout is not clear
Key: CXF-5003
URL: https://issues.apache.org/jira/browse/CXF-5003
Project: CXF
Issue Type: Bug
Components: Documentation
Affects Versions: 2.7.4, 2.6.6, 2.4.10
Reporter: Philippe Mouawad
Priority: Minor
http://cxf.apache.org/docs/developing-a-consumer.html says:
*Request context* - on the client side, the request context enables you to
set properties that affect outbound messages. Request context properties
are applied to a specific port instance and, once set, the properties
affect every subsequent operation invocation made on the port, until such
time as a property is explicitly cleared. For example, you might use a
request context property to set a connection timeout or to initialize data
for sending in a header.
Service = new Service();
Port = Service.getPort();
((BindingProvider) Port).getRequestContext().put(
BindingProviderProperties.CONNECT_TIMEOUT,
30);
((BindingProvider) Port).getRequestContext().put(
BindingProviderProperties.REQUEST_TIMEOUT,
30);
But it does not work.
See this question on mailing list:
http://mail-archives.apache.org/mod_mbox/cxf-users/201305.mbox/%3CCAH9fUpYxuZSv0H81hK9eX75a%2BF16WLjGmyLa1phZCck95bsUFA%40mail.gmail.com%3E
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira