第38章 File 言語
File Expression Language はこの言語の拡張機能であり、File 関連の機能が追加されています。これらの機能は、ファイルパスと名前を操作する一般的なユースケースに関連しています。目標は、式を consumer と producer の両方に
動的ファイルパターンを設定するためのコンポーネントと合わせて使用することです。
注記
File 言語は言語に統合されているので、Simple 言語内ですべてのファイル構文を直接使用できます。
38.1. 依存関係
File 言語は camel-core の一部です。
Red Hat build of Camel Spring Boot で file
を使用する場合は、自動設定をサポートするために、次の Maven 依存関係を必ず使用してください。
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-core-starter</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-core-starter</artifactId>
</dependency>