Skip navigation

ファイルをディレクトリから他のディレクトリに移動する場合は、FileConnectorの moveToDirectory プロパティを設定します。しかし、ファイルを読み込み、処理を行い、他ディレクトリに書き出したい場合もあります。上の例と類似していますが、メーリングリストで数回の問い合わせがあったために、簡単な設定例を記述します。 outboundEndpoint のみが置き換わっていることに注目してください。

<mule-descriptor name="fileReceiverUMO"
    inboundEndpoint="file:///temp/myfiles/in"
    outboundEndpoint="file:///temp/myfiles/out"
    implementation="com.foo.TestFileComponent">
</mule-descriptor>

詳細及び設定オプションに付いてはファイル・プロバイダを参照にしてください。

Adaptavist Theme Builder Powered by Atlassian Confluence