【问题标题】:Apache Camel's aws-s3 component does not recognize parameter delimiterApache Camel 的 aws-s3 组件无法识别参数分隔符
【发布时间】:2020-11-12 08:24:54
【问题描述】:

我尝试为我的 aws-s3 消费者端点应用前缀和分隔符。由于某种原因,分隔符参数无法识别:

org.apache.camel.ResolveEndpointFailedException: 解析失败 端点: aws-s3://somebucketname?accessKey=RAW(xxxxxx)&delimiter=%2F&prefix=somePrefix&secretKey=RAW(xxxxx) 由于:有 1 个参数无法在端点上设置。 检查 uri 参数是否拼写正确并且它们是 端点的属性。 未知参数=[{delimiter=/}]

我认为也许调整 &delimiter=RAW(/) 会有所帮助,但我得到了相同的结果:

Unknown parameters=[{delimiter=/}]

【问题讨论】:

标签: apache-camel apache-camel-aws


【解决方案1】:

参数delimiter 自Apache Camel 3.0 起可用。网站文档默认切换到最新版本。您可以使用右上角的选择框切换到旧版本。对于2.xaws-s3 文档在这里https://camel.apache.org/components/2.x/aws-s3-component.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-23
    • 2021-12-08
    • 2012-02-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多