Red Hat Bugzilla – Bug 779379
Need documentation for use of synchronousTimeout with http-gateway
Last modified: 2010-02-08 14:38:24 EST
Affects: Documentation (Ref Guide, User Guide, etc.)
Date of First Response: 2010-01-08 21:55:29
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/?module=issues&action=view&tid=380285&gid=1354
Need documentation of the http-gateway "synchronousTimeout" property to be added here: http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/5.0.0-Beta1/html-single/Programmers_Guide/index.html#id3728654
I've already figured out how to do it from looking at the source code. Just wanted to get a case created so that it would hopefully get in the official documentation before GA.
<http-gateway name="HttpGateway" urlPattern="redirectShip/*">
<property name="synchronousTimeout" value="120000"/>
Affects: Added: [Documentation (Ref Guide, User Guide, etc.)]
Link: Added: This issue is related to SOA-1533
The <synchronousTimeout> property seems to work - setting it to a very low value raises this exeception:
<property name="synchronousTimeout" value="1"/>
22:13:10,644 ERROR [[sales]] Servlet.service() for servlet sales threw exception
org.jboss.soa.esb.listeners.message.ResponseTimeoutException: No response received for service [Sales:List].
Link: Added: This issue depends JBESB-3113
Need to reference: http://community.jboss.org/wiki/HTTPGateway
I have asked TomF to add a comment here, rather than doing wiki/docs, as his priority is with the redeployment issue.
Added to the wiki page... sorry Kev... just saw your comment now. Was easier to add there anyway.
Re the async invocation settings: http://community.jboss.org/wiki/HTTPGateway#Asynchronous_Responses
Re the sync response timeout: http://community.jboss.org/wiki/HTTPGateway#Response_Timeout
Please update Programmers guide with those wiki page additions
This has been documented in section 9.9.3 of the Programmers' Guide.
As per the above, all of the synchronousTimeout info has been added to the document.
However, found the statement about documenting this Wiki ambiguous. Do you want it all documented? I ask this because there are significant differences between what is in the Wiki and what is in the upstream docs (for example, the entire "Security" section is missing from the Docs.)
Since the Wiki was updated recently (Jan 10) by Tom Fennelley, do we take it as the "source of truth" for the entire HTTP Gateway section?
I have put all of this data in. (Please let me know if any of it is not relevant, as it can be removed.)
content was updated in the guide from the wiki as requested