Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
WSO2 ESB中的资源在更改时不会更新_Wso2_Wso2esb_Wso2greg - Fatal编程技术网

WSO2 ESB中的资源在更改时不会更新

WSO2 ESB中的资源在更改时不会更新,wso2,wso2esb,wso2greg,Wso2,Wso2esb,Wso2greg,我有一个问题:当我使用WSO2 G-REG在共享注册表中将资源从一个集合移动到另一个集合时,该资源被移动,但当我在WSO2 ESB管理控制台中打开同一个注册表窗口时,该资源位于旧集合中。为什么没有改变 此行为有任何设置吗?等等,可能在registry.xml中?实际上,您需要在wso2 esb的registry.xml文件中添加正确的映射配置[1] [1] 雷戈夫 /_系统/治理 请记住,如果将治理映射为配置[1],则集合的其余部分位于目标路径下(/\u system/governance)

我有一个问题:当我使用WSO2 G-REG在共享注册表中将资源从一个集合移动到另一个集合时,该资源被移动,但当我在WSO2 ESB管理控制台中打开同一个注册表窗口时,该资源位于旧集合中。为什么没有改变


此行为有任何设置吗?等等,可能在registry.xml中?

实际上,您需要在wso2 esb的registry.xml文件中添加正确的映射配置[1]

[1]


雷戈夫
/_系统/治理
请记住,如果将治理映射为配置[1],则集合的其余部分位于目标路径下(/\u system/governance)将不会显示。 例:下面的映射[2]与映射[1]没有意义

[2]


雷戈夫
/_系统/治理/xyz
问题的真正原因可能是ESB的注册表缓存时间。
根据当前的实现,部署到GREG的工件同步到ESB节点大约需要15分钟。原因应该是默认可缓存时间设置为15分钟。

您确定已正确配置注册表吗?
<mount path="/_system/governance" overwrite="true">
        <instanceId>reggov</instanceId>
        <targetPath>/_system/governance</targetPath>
</mount>
<mount path="/_system/governance/abc" overwrite="true">
        <instanceId>reggov</instanceId>
        <targetPath>/_system/governance/xyz</targetPath>
</mount>