Dynamic 动态VFS端点

Dynamic 动态VFS端点,dynamic,wso2,endpoint,vfs,Dynamic,Wso2,Endpoint,Vfs,我需要在存储上创建文件夹。文件夹名称是动态的,来自传入的请求。我尝试在属性“transport.vfs.ReplyFileName”中连接完整路径,但未成功,并且仍然在地址端点中使用uri属性: <property description="concat path and DestinationFolder" expression="fn:concat(get-property('path'),get-property('DFolder'))" name="transport.vfs.Re

我需要在存储上创建文件夹。文件夹名称是动态的,来自传入的请求。我尝试在属性“transport.vfs.ReplyFileName”中连接完整路径,但未成功,并且仍然在地址端点中使用uri属性:

<property description="concat path and DestinationFolder" expression="fn:concat(get-property('path'),get-property('DFolder'))" name="transport.vfs.ReplyFileName" scope="transport" type="STRING"/>
            <property description="OUT_ONLY=true" name="OUT_ONLY" scope="default" type="STRING" value="true"/> 
 <endpoint>
    <address uri="vfs:file://D:\\temp_WSO2\\Downloads\\">
    </address>
 </endpoint>

有人知道如何解决这种情况吗? 提前谢谢

您可以使用To属性设置动态路径。然后,可以包含匿名端点

<header name="To" expression="fn:concat(get-property('path'),get-property('DFolder'))"/>
<property description="OUT_ONLY=true" name="OUT_ONLY" scope="default" type="STRING" value="true"/> 
<send>
    <endpoint>
        <default/>
    </endpoint>
</send>


您可以看到。

谢谢您的支持!