此内容没有您所选择的语言版本。

18.3. Testing the camel-jbossdatagrid-fuse Quickstart


To test the local_cache_producer create a CSV file in the incomingFolderPath, previously specified. The following command will generate a file with a single entry:
echo "1,Bill,Gates,59" > $incomingFolderPath/sample.csv
Copy to Clipboard Toggle word wrap
Once the file has been removed from the directory then the producer has successfully parsed the file. Proceed to testing the consumer.
To test the local_cache_consumer navigate to http://127.0.0.1:8282/cache/get/1 in a web browser. This will query the cache for the entry with an Id of 1, which was specified above. The following JSON of the created POJO should be returned:
{"id":1,"firstName":"Bill","lastName":"Gates","age":59}
Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat