当任何后端服务器和ESB服务器出现故障时,我们都会在产品中看到这个问题。为什么ESB不能很好地处理超时。
有没有人体验过,不确定产品在这里遗漏了什么。
发布于 2016-10-26 13:15:50
您可以通过修改synapse.properties文件中的'synapse.global_timeout_interval‘属性(以毫秒为单位)来增加全局超时。请查找更多详细信息here。
发布于 2016-10-28 22:43:26
能否尝试在后端端点配置中将responseAction设置为故障(在超时节点下)?如果您设置了这一点,当超时时,ESB将进入故障序列。
<address uri="endpoint address" [format="soap11|soap12|pox|rest|get"] [optimize="mtom|swa"]
[encoding="charset encoding"]
[statistics="enable|disable"] [trace="enable|disable"]>
<enableSec [policy="key"]/>?
<enableAddressing [version="final|submission"] [separateListener="true|false"]/>?
<timeout>
<duration>timeout duration in milliseconds</duration>
<responseAction>**discard|fault**</responseAction>
</timeout>?
</address>https://stackoverflow.com/questions/40251278
复制相似问题